Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
vidjil
vidjil
Commits
8d98090f
Commit
8d98090f
authored
Apr 15, 2014
by
Mikaël Salson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CountKmerAffectAnalyser: Update doc
parent
ade9fb8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
algo/core/affectanalyser.h
algo/core/affectanalyser.h
+4
-4
No files found.
algo/core/affectanalyser.h
View file @
8d98090f
...
...
@@ -162,22 +162,22 @@ class CountKmerAffectAnalyser: public KmerAffectAnalyser<T> {
/**
* @return the first position pos in the sequence such that
* countBefore(before, pos -
overlap + 1 + overlap
)
* countBefore(before, pos -
s
)
+ countAfter(after, pos) is maximal
* and pos >= start, and the maximum is greater than min;
* or -1 if such a position doesn't exist.
* Where
overlap is
getAllowedOverlap().
* Where
s is kms.getS() -
getAllowedOverlap()
- 1
.
* @complexity linear in getSequence().size()
*/
int
firstMax
(
const
T
&
before
,
const
T
&
after
,
int
start
=
0
,
int
min
=-
1
)
const
;
/**
* @return the last position pos in the sequence such that
* countBefore(before, pos -
overlap + 1+ overlap
)
* countBefore(before, pos -
s
)
* + countAfter(after, pos) is maximal
* and pos <= end (if end == -1 considers end of sequence), and the
* maximum is greater than min; or -1 if such a position doesn't exist.
* Where
overlap is
getAllowedOverlap().
* Where
s is kms.getS() -
getAllowedOverlap()
- 1
.
* @complexity linear in getSequence().size()
*/
int
lastMax
(
const
T
&
before
,
const
T
&
after
,
int
end
=-
1
,
int
min
=-
1
)
const
;
...
...
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