Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
23604f38
Commit
23604f38
authored
Aug 29, 2011
by
Davis King
Browse files
Added a missing requires clause
parent
7c95a2ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
dlib/optimization/find_map_nmplp.h
dlib/optimization/find_map_nmplp.h
+7
-0
dlib/optimization/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