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
b0cdcd82
Commit
b0cdcd82
authored
Feb 22, 2014
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarified spec
parent
85b6a50a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
sequence_segmenter_abstract.h
dlib/svm/sequence_segmenter_abstract.h
+5
-1
No files found.
dlib/svm/sequence_segmenter_abstract.h
View file @
b0cdcd82
...
@@ -387,7 +387,9 @@ namespace dlib
...
@@ -387,7 +387,9 @@ namespace dlib
ensures
ensures
- Takes an input sequence and returns a list of detected segments within
- Takes an input sequence and returns a list of detected segments within
that sequence.
that sequence.
- returns a std::vector Y of segments such that:
- None of the returned segments will overlap.
- The returned segments are listed in the order they appeared in the input sequence.
- To be precise, this function returns a std::vector Y of segments such that:
- Y.size() == the number of segments detected in the input sequence x.
- Y.size() == the number of segments detected in the input sequence x.
- for all valid i:
- for all valid i:
- Y[i].first == the start of the i-th segment.
- Y[i].first == the start of the i-th segment.
...
@@ -398,6 +400,8 @@ namespace dlib
...
@@ -398,6 +400,8 @@ namespace dlib
- Y[i].second <= x.size()
- Y[i].second <= x.size()
- Y[i].first < Y[i].second
- Y[i].first < Y[i].second
(i.e. This function never outputs empty segments)
(i.e. This function never outputs empty segments)
- Y[i].second <= Y[i+1].first
(i.e. the segments are listed in order of appearance and do not overlap)
!*/
!*/
void
segment_sequence
(
void
segment_sequence
(
...
...
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