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
4c85ee1e
Commit
4c85ee1e
authored
Oct 02, 2011
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clarified spec
parent
b5467d0f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
find_max_factor_graph_nmplp_abstract.h
dlib/optimization/find_max_factor_graph_nmplp_abstract.h
+11
-3
No files found.
dlib/optimization/find_max_factor_graph_nmplp_abstract.h
View file @
4c85ee1e
...
...
@@ -30,6 +30,12 @@ namespace dlib
neighbors with themselves. Additionally, the graph is undirected. This
mean that if A is a neighbor of B then B must be a neighbor of A for
the map problem to be valid.
Finally, note that the "neighbor" relationship between nodes means the
following: Two nodes are neighbors if and only if there is a potential
function (implemented by the factor_value() method) which operates on
the nodes.
!*/
public
:
...
...
@@ -319,12 +325,14 @@ namespace dlib
object defined at the top of this file.
- eps > 0
ensures
- This function is a tool for approximately solving the MAP problem in a graphical
- This function is a tool for approximately solving the
given
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.
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. In reference
to the prob object, the nodes in prob represent the variables in X and the
functions which are summed are represented by prob.factor_value().
- #map_assignment == the result of the optimization.
- #map_assignment.size() == prob.number_of_nodes()
- for all valid i:
...
...
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