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
f827c493
Commit
f827c493
authored
Nov 08, 2012
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clarified spec
parent
dd97e3b4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
sample_pair_abstract.h
dlib/graph_utils/sample_pair_abstract.h
+5
-4
No files found.
dlib/graph_utils/sample_pair_abstract.h
View file @
f827c493
...
@@ -95,8 +95,9 @@ namespace dlib
...
@@ -95,8 +95,9 @@ namespace dlib
- T is a type with an interface compatible with sample_pair.
- T is a type with an interface compatible with sample_pair.
ensures
ensures
- provides a total ordering of sample_pair objects that will cause pairs that are
- provides a total ordering of sample_pair objects that will cause pairs that are
equal to be adjacent when sorted. This function can be used with std::sort() to
equal to be adjacent when sorted. So for example, this function can be used
first sort sequences of sample_pair objects and then find duplicate edges.
with std::sort() to first sort a sequence of sample_pair objects and then
find duplicate edges.
!*/
!*/
template
<
typename
T
>
template
<
typename
T
>
...
@@ -110,7 +111,7 @@ namespace dlib
...
@@ -110,7 +111,7 @@ namespace dlib
ensures
ensures
- provides a total ordering of sample_pair objects that causes pairs with
- provides a total ordering of sample_pair objects that causes pairs with
smallest distance to be the first in a sorted list. This function can be
smallest distance to be the first in a sorted list. This function can be
used with std::sort()
used with std::sort()
.
!*/
!*/
template
<
typename
T
>
template
<
typename
T
>
...
@@ -125,7 +126,7 @@ namespace dlib
...
@@ -125,7 +126,7 @@ namespace dlib
- provides a total ordering of sample_pair objects that causes pairs with
- provides a total ordering of sample_pair objects that causes pairs with
smallest distance to be the first in a sorted list but also orders samples
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
with equal distances according to order_by_index(). This function can be
used with std::sort()
used with std::sort()
.
!*/
!*/
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
...
...
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