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
3bcab68a
Commit
3bcab68a
authored
Aug 24, 2012
by
Davis King
Browse files
Fully qualified some more dlib set objects.
parent
2a5072d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
examples/bayes_net_ex.cpp
examples/bayes_net_ex.cpp
+1
-1
examples/bayes_net_from_disk_ex.cpp
examples/bayes_net_from_disk_ex.cpp
+1
-1
No files found.
examples/bayes_net_ex.cpp
View file @
3bcab68a
...
@@ -168,7 +168,7 @@ int main()
...
@@ -168,7 +168,7 @@ int main()
// First we need to create an undirected graph which contains set objects at each node and
// First we need to create an undirected graph which contains set objects at each node and
// edge. This long declaration does the trick.
// edge. This long declaration does the trick.
typedef
set
<
unsigned
long
>::
compare_1b_c
set_type
;
typedef
dlib
::
set
<
unsigned
long
>::
compare_1b_c
set_type
;
typedef
graph
<
set_type
,
set_type
>::
kernel_1a_c
join_tree_type
;
typedef
graph
<
set_type
,
set_type
>::
kernel_1a_c
join_tree_type
;
join_tree_type
join_tree
;
join_tree_type
join_tree
;
...
...
examples/bayes_net_from_disk_ex.cpp
View file @
3bcab68a
...
@@ -49,7 +49,7 @@ int main(int argc, char** argv)
...
@@ -49,7 +49,7 @@ int main(int argc, char** argv)
// First we need to create an undirected graph which contains set objects at each node and
// First we need to create an undirected graph which contains set objects at each node and
// edge. This long declaration does the trick.
// edge. This long declaration does the trick.
typedef
graph
<
set
<
unsigned
long
>::
compare_1b_c
,
set
<
unsigned
long
>::
compare_1b_c
>::
kernel_1a_c
join_tree_type
;
typedef
graph
<
dlib
::
set
<
unsigned
long
>::
compare_1b_c
,
dlib
::
set
<
unsigned
long
>::
compare_1b_c
>::
kernel_1a_c
join_tree_type
;
join_tree_type
join_tree
;
join_tree_type
join_tree
;
// Now we need to populate the join_tree with data from our bayesian network. The next two
// Now we need to populate the join_tree with data from our bayesian network. The next two
...
...
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