Commit 7c8e6d3e authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

testAffectAnalyser.cpp: documents some nb_{left/right}_{before/after}

parent 16774c88
......@@ -327,6 +327,8 @@ void testGetMaximum() {
// V V V V V V V V V V _ _ _ _ _ _ J J V J
//0 0 0 0 0 1 2 3 4 5 6 7 8 9101010 9 8 7 6
// ^^^^^^
// V V V V V V J J J // nb_before_left (6), nb_after_right (3)
// V // nb_before_right (1)
vector<KmerAffect> affectations3(a3, a3+sizeof(a3)/sizeof(KmerAffect));
KmerAffectAnalyser kaa3(*index, "", affectations3);
// span = 4, maxOverlap = 0
......@@ -357,6 +359,7 @@ void testGetMaximum() {
// V V V V V V V V V V J J J J J J J J J J
//0 0 0 0 0 1 2 3 4 5 6 6 6 6 6 5 4 3 2 1 0 // currentValue, after iteration i
// ^^^^^^^^^
// V V V V V V J J J J J J // nb_before_left (6), nb_after_right (6)
vector<KmerAffect> affectations4(a4, a4+sizeof(a4)/sizeof(KmerAffect));
KmerAffectAnalyser kaa4(*index, "", affectations4);
// span = 4, maxOverlap = 0
......@@ -387,6 +390,9 @@ void testGetMaximum() {
// V V V V J J J V V V V V J J J J J J J J
//0 0 0 0 0 0 0 0 1 1 1 1 2 2 2 2 2 1 0-1-2 // currentValue, after iteration i
// ^^^^^^^^^
// V V V V V J J J J // nb_before_left (5), nb_after_right (4)
// J J J // nb_after_left (3)
vector<KmerAffect> affectations5(a5, a5+sizeof(a5)/sizeof(KmerAffect));
KmerAffectAnalyser kaa5(*index, "", affectations5);
results = kaa5.getMaximum(AFFECT_V, AFFECT_J, 2., 0);
......
Supports Markdown
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