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
3bcab68a
Commit
3bcab68a
authored
Aug 25, 2012
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fully qualified some more dlib set objects.
parent
2a5072d1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
bayes_net_ex.cpp
examples/bayes_net_ex.cpp
+1
-1
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()
// First we need to create an undirected graph which contains set objects at each node and
// 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
;
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)
// First we need to create an undirected graph which contains set objects at each node and
// 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
;
// 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