Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
f36c76cc
Commit
f36c76cc
authored
Aug 29, 2011
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clarified spec
parent
0b16a785
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
find_map_nmplp_abstract.h
dlib/optimization/find_map_nmplp_abstract.h
+13
-2
No files found.
dlib/optimization/find_map_nmplp_abstract.h
View file @
f36c76cc
...
...
@@ -122,11 +122,22 @@ namespace dlib
- map_problem == an object with an interface compatible with the map_problem
object defined at the top of this file.
ensures
- This function is a tool for approximately solving the MAP problem in a graphical
model or factor graph with pairwise potential functions. That is, it attempts
to solve a certain kind of optimization problem which can be defined as follows:
maximize: f(X)
where X is a set of integer valued variables and f(X) can be written
as the sum of functions which each involve only two variables from X.
- #map_assignment == the result of the optimization.
- #map_assignment.size() == prob.number_of_nodes()
- for all valid i:
- #map_assignment[prob.node_id(i)] < prob.num_states(i)
- #map_assignment[prob.node_id(i)] == approximate MAP assignment for node i.
- #map_assignment[prob.node_id(i)] == approximate MAP assignment for node/variable i.
- eps controls the stopping condition, smaller values of eps lead to more accurate
solutions of the relaxed linear program but may take more iterations. Note that
the algorithm will never execute more than max_iter iterations regardless of
the setting of eps.
- This function is an implementation of the NMPLP algorithm introduced in the
following paper:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment