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
23604f38
Commit
23604f38
authored
Aug 30, 2011
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a missing requires clause
parent
7c95a2ac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
find_map_nmplp.h
dlib/optimization/find_map_nmplp.h
+7
-0
find_map_nmplp_abstract.h
dlib/optimization/find_map_nmplp_abstract.h
+1
-0
No files found.
dlib/optimization/find_map_nmplp.h
View file @
23604f38
...
...
@@ -24,6 +24,13 @@ namespace dlib
double
eps
)
{
// make sure requires clause is not broken
DLIB_ASSERT
(
eps
>
0
,
"
\t
void find_map_nmplp()"
<<
"
\n\t
eps must be greater than zero"
<<
"
\n\t
eps: "
<<
eps
);
/*
This function is an implementation of the NMPLP algorithm introduced in the
following paper:
...
...
dlib/optimization/find_map_nmplp_abstract.h
View file @
23604f38
...
...
@@ -311,6 +311,7 @@ namespace dlib
- for all valid i: prob.num_states(i) >= 2
- map_problem == an object with an interface compatible with the map_problem
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
model or factor graph with pairwise potential functions. That is, it attempts
...
...
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