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
406a26d3
Commit
406a26d3
authored
May 19, 2012
by
Davis King
Browse files
clarified spec
parent
a485d094
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dlib/graph_cuts/find_max_factor_graph_potts_abstract.h
dlib/graph_cuts/find_max_factor_graph_potts_abstract.h
+2
-2
No files found.
dlib/graph_cuts/find_max_factor_graph_potts_abstract.h
View file @
406a26d3
...
...
@@ -177,7 +177,7 @@ namespace dlib
ensures
- computes the model score for the given potts_problem. We define this
precisely below:
- let L(i) == the boolean label of the ith variable in prob. Or in other
- let L(i) == the boolean label of the i
-
th variable in prob. Or in other
words, L(i) == (prob.get_label(i) != 0).
- let F == the sum of values of prob.factor_value(i) for only i values
where L(i) == true.
...
...
@@ -215,7 +215,7 @@ namespace dlib
instead of a potts_problem object.
- computes the model score for the given graph and labeling. We define this
precisely below:
- let L(i) == the boolean label of the ith variable in g. Or in other
- let L(i) == the boolean label of the i
-
th variable in g. Or in other
words, L(i) == (labels[i] != 0).
- let F == the sum of values of g.node(i).data for only i values
where L(i) == true.
...
...
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