#include <string>#include <vector>#include "Range.h"#include <iostream>#include "bioseq.h"Go to the source code of this file.
Classes | |
| class | PointOutChain |
| class | Badinput |
| class | InvalidModel |
| class | Noschain |
| class | GenModel |
Functions | |
| void | string2Vector (vector< int > &v, const string &str) |
| bool | nonincreasingVector (const vector< int > &v) |
| bool | nondecreasingVector (const vector< int > &v) |
| bool | allLessVector (const vector< int > &v1, const vector< int > &v2) |
| void | errorMessageFix1 (Noschain &c1, Noschain &c2, int status, int end) |
| int | comparePlusChainFirstBefore (Noschain &c1, Noschain &c2) |
| int | comparePlusChainIdenticalLeft (Noschain &c1, Noschain &c2) |
| int | compareMinusChainFirstBefore (Noschain &c1, Noschain &c2) |
| int | compareMinusChainMinusIdenticalRight (Noschain &c1, Noschain &c2) |
Variables | |
| int | FUZZYMARGIN |
| bool allLessVector | ( | const vector< int > & | v1, | |
| const vector< int > & | v2 | |||
| ) |
Referenced by Noschain::Noschain().
References Range::begin(), Range::end(), FUZZYMARGIN, I, Noschain::numberOfRanges(), Noschain::setBegin(), and Noschain::setEnd().
Referenced by Noschain::compareChainAndFix().
left ends are the same
References Range::begin(), Range::end(), FUZZYMARGIN, I, Noschain::numberOfRanges(), and Noschain::setEnd().
Referenced by Noschain::compareChainAndFix().
several helper functions. The noschain compare function is very hard to implement. I have not figured out a simple way to implement this function.
return 0, 1, 2, -2 These are non-member function.
all use a common value fuzzymargin as static constant. I should use a common value in the Range::margin The the caller will have to set this value. The Range::margin has a default of 20. Which should be set to 16. I will use a global constant FUZZYMARGIN. This value can be changed by the user.
References Range::begin(), Range::end(), FUZZYMARGIN, I, Noschain::numberOfRanges(), Noschain::setBegin(), and Noschain::setEnd().
Referenced by Noschain::compareChainAndFix().
left ends are the same
References Range::begin(), Range::end(), FUZZYMARGIN, I, Noschain::numberOfRanges(), and Noschain::setEnd().
Referenced by Noschain::compareChainAndFix().
for debuging
References Noschain::show().
| bool nondecreasingVector | ( | const vector< int > & | v | ) |
numbers goes from small to large
Referenced by Noschain::Noschain().
| bool nonincreasingVector | ( | const vector< int > & | v | ) |
numbers go from large to small
Referenced by Noschain::Noschain().
| void string2Vector | ( | vector< int > & | v, | |
| const string & | str | |||
| ) |
Referenced by Noschain::Noschain().
| int FUZZYMARGIN |
1.5.6