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
b0b281cb
Commit
b0b281cb
authored
Nov 07, 2012
by
Davis King
Browse files
updated docs
parent
f827c493
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
84 additions
and
5 deletions
+84
-5
docs/docs/graph_tools.xml
docs/docs/graph_tools.xml
+79
-0
docs/docs/term_index.xml
docs/docs/term_index.xml
+5
-5
No files found.
docs/docs/graph_tools.xml
View file @
b0b281cb
...
...
@@ -64,6 +64,11 @@
<item>
is_ordered_by_index
</item>
<item>
find_neighbor_ranges
</item>
<item>
convert_unordered_to_ordered
</item>
<item>
order_by_index
</item>
<item>
order_by_distance
</item>
<item>
order_by_distance_and_index
</item>
<item>
contains_duplicate_pairs
</item>
<item>
max_index_plus_one
</item>
</section>
</top>
</menu>
...
...
@@ -74,6 +79,80 @@
<components>
<!-- ************************************************************************* -->
<component>
<name>
order_by_index
</name>
<file>
dlib/graph_utils.h
</file>
<spec_file
link=
"true"
>
dlib/graph_utils/sample_pair_abstract.h
</spec_file>
<description>
This function provides a total ordering of
<a
href=
"#sample_pair"
>
sample_pair
</a>
or
<a
href=
"#ordered_sample_pair"
>
ordered_sample_pair
</a>
objects that will cause pairs that represent the same edge to be adjacent
when sorted. So for example, this function can be used
with std::sort() to first sort a sequence of sample_pair objects and then
find duplicate edges.
</description>
</component>
<!-- ************************************************************************* -->
<component>
<name>
order_by_distance
</name>
<file>
dlib/graph_utils.h
</file>
<spec_file
link=
"true"
>
dlib/graph_utils/sample_pair_abstract.h
</spec_file>
<description>
This function provides a total ordering of
<a
href=
"#sample_pair"
>
sample_pair
</a>
or
<a
href=
"#ordered_sample_pair"
>
ordered_sample_pair
</a>
objects that causes
pairs with smallest distance to be the first in a sorted list. This function
can be used with std::sort().
</description>
</component>
<!-- ************************************************************************* -->
<component>
<name>
order_by_distance_and_index
</name>
<file>
dlib/graph_utils.h
</file>
<spec_file
link=
"true"
>
dlib/graph_utils/sample_pair_abstract.h
</spec_file>
<description>
This function provides a total ordering of
<a
href=
"#sample_pair"
>
sample_pair
</a>
or
<a
href=
"#ordered_sample_pair"
>
ordered_sample_pair
</a>
objects that causes pairs
with smallest distance to be the first in a sorted list but also orders
samples with equal distances according to order_by_index(). This function
can be used with std::sort().
</description>
</component>
<!-- ************************************************************************* -->
<component>
<name>
contains_duplicate_pairs
</name>
<file>
dlib/graph_utils.h
</file>
<spec_file
link=
"true"
>
dlib/graph_utils/edge_list_graphs_abstract.h
</spec_file>
<description>
This function checks if a std::vector of
<a
href=
"#sample_pair"
>
sample_pair
</a>
or
<a
href=
"#ordered_sample_pair"
>
ordered_sample_pair
</a>
objects
contains any edge more than once.
</description>
</component>
<!-- ************************************************************************* -->
<component>
<name>
max_index_plus_one
</name>
<file>
dlib/graph_utils.h
</file>
<spec_file
link=
"true"
>
dlib/graph_utils/edge_list_graphs_abstract.h
</spec_file>
<description>
This function finds the number that is one greater than the largest index
value in a std::vector of
<a
href=
"#sample_pair"
>
sample_pair
</a>
or
<a
href=
"#ordered_sample_pair"
>
ordered_sample_pair
</a>
objects. Therefore,
it is useful for finding out how many nodes are in an edge list graph (assuming
the graph contains all node indices from 0 to the largest index indicated
by an edge).
</description>
</component>
<!-- ************************************************************************* -->
<component>
...
...
docs/docs/term_index.xml
View file @
b0b281cb
...
...
@@ -220,9 +220,9 @@
<term
file=
"graph_tools.html"
name=
"sample_pair"
/>
<term
file=
"graph_tools.html"
name=
"ordered_sample_pair"
/>
<term
file=
"
dlib/
graph_
utils/sample_pair_abstract.h
.html"
name=
"order_by_index"
/>
<term
file=
"
dlib/
graph_
utils/sample_pair_abstract.h
.html"
name=
"order_by_distance"
/>
<term
file=
"
dlib/
graph_
utils/sample_pair_abstract.h
.html"
name=
"order_by_distance_and_index"
/>
<term
file=
"graph_
tools
.html"
name=
"order_by_index"
/>
<term
file=
"graph_
tools
.html"
name=
"order_by_distance"
/>
<term
file=
"graph_
tools
.html"
name=
"order_by_distance_and_index"
/>
<term
file=
"graph_tools.html"
name=
"find_percent_shortest_edges_randomly"
/>
<term
file=
"graph_tools.html"
name=
"find_k_nearest_neighbors"
/>
<term
file=
"graph_tools.html"
name=
"remove_short_edges"
/>
...
...
@@ -234,9 +234,9 @@
<term
file=
"graph_tools.html"
name=
"remove_percent_longest_edges"
/>
<term
file=
"graph_tools.html"
name=
"remove_percent_shortest_edges"
/>
<term
file=
"graph_tools.html"
name=
"find_approximate_k_nearest_neighbors"
/>
<term
file=
"
dlib/
graph_
utils/edge_list_graphs_abstract.h
.html"
name=
"contains_duplicate_pairs"
/>
<term
file=
"graph_
tools
.html"
name=
"contains_duplicate_pairs"
/>
<term
name=
"max_index_plus_one"
>
<term
link=
"
dlib/
graph_
utils/edge_list_graphs_abstract.h
.html#max_index_plus_one"
name=
"for graphs"
/>
<term
link=
"graph_
tools
.html#max_index_plus_one"
name=
"for graphs"
/>
<term
link=
"dlib/svm/sparse_vector_abstract.h.html#max_index_plus_one"
name=
"for sparse vectors"
/>
</term>
<term
file=
"dlib/svm/sparse_vector_abstract.h.html"
name=
"sparse_matrix_vector_multiply"
/>
...
...
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