Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
vidjil
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1,432
Issues
1,432
List
Boards
Labels
Milestones
Merge Requests
50
Merge Requests
50
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vidjil
vidjil
Commits
44f7aa46
Commit
44f7aa46
authored
Jul 11, 2018
by
Mathieu Giraud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core/segment.{h,cpp}: getMidLength()
This is the N length when there is no D.
parent
242de05f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
algo/core/segment.cpp
algo/core/segment.cpp
+4
-0
algo/core/segment.h
algo/core/segment.h
+7
-0
No files found.
algo/core/segment.cpp
View file @
44f7aa46
...
...
@@ -249,6 +249,10 @@ int Segmenter::getRight() const {
return
box_J
->
start
;
}
int
Segmenter
::
getMidLength
()
const
{
return
box_J
->
start
-
box_V
->
end
-
1
;
}
int
Segmenter
::
getLeftD
()
const
{
return
box_D
->
start
;
}
...
...
algo/core/segment.h
View file @
44f7aa46
...
...
@@ -231,7 +231,14 @@ protected:
* @return the right position (on forward strand) of the segmentation
*/
int
getRight
()
const
;
/**
* @return the number of positions between the left and the right positions
*/
int
getMidLength
()
const
;
/**
* @return the left position (on forward strand) of the D segmentation.
*/
...
...
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