Commit 6d623eeb authored by Davis King's avatar Davis King

Refined the definition of a sequence segmentation problem.

parent 848c3015
......@@ -223,7 +223,7 @@ namespace dlib
if (end > samples[i].size())
return false;
if (begin > end)
if (begin >= end)
return false;
// check for overlap
......
......@@ -101,7 +101,7 @@ namespace dlib
- We interpret segments[i][j] as defining a half open range
starting with segments[i][j].first and ending just before
segments[i][j].second.
- segments[i][j].first <= segments[i][j].second
- segments[i][j].first < segments[i][j].second
- segments[i][j].second <= samples[i].size()
(i.e. Each segment must be contained within its associated sequence)
- segments[i][j] does not overlap with any of the other ranges in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment