is able to manage an EPM, consists of 2 singlepatterns, one in each RNA More...
#include <exact_matcher.hh>
Public Member Functions | |
PatternPair (const std::string &myId, const SinglePattern &myFirstPat, const SinglePattern &mySecPat, const std::string &structure_, int &score_) | |
Constructor. | |
virtual | ~PatternPair () |
Destructor. | |
const std::string & | getId () const |
const int & | getSize () const |
const SinglePattern & | getFirstPat () const |
const SinglePattern & | getSecPat () const |
void | resetBounds () |
clears the insideBounds | |
void | setOutsideBounds (intPPair myPPair) |
const intPPair | getOutsideBounds () const |
void | addInsideBounds (intPPair myPPair) |
adds the inside Bound myPPair | |
const std::vector< intPPair > & | getInsideBounds () const |
void | setEPMScore (int myScore) |
const int | getScore () const |
const int | getEPMScore () const |
const std::string & | get_struct () const |
is able to manage an EPM, consists of 2 singlepatterns, one in each RNA
LocARNA::PatternPair::PatternPair | ( | const std::string & | myId, |
const SinglePattern & | myFirstPat, | ||
const SinglePattern & | mySecPat, | ||
const std::string & | structure_, | ||
int & | score_ | ||
) | [inline] |
Constructor.
myId | Id for PatternPair |
myFirstPat | first Pattern |
mySecPat | second Pattern |
structure_ | structure |
score_ | score |
const std::string& LocARNA::PatternPair::get_struct | ( | ) | const [inline] |
read access
const int LocARNA::PatternPair::getEPMScore | ( | ) | const [inline] |
read access
const SinglePattern& LocARNA::PatternPair::getFirstPat | ( | ) | const [inline] |
read access
const std::string& LocARNA::PatternPair::getId | ( | ) | const [inline] |
read access
const std::vector<intPPair>& LocARNA::PatternPair::getInsideBounds | ( | ) | const [inline] |
read access
const intPPair LocARNA::PatternPair::getOutsideBounds | ( | ) | const [inline] |
read access
const int LocARNA::PatternPair::getScore | ( | ) | const [inline] |
read access
const SinglePattern& LocARNA::PatternPair::getSecPat | ( | ) | const [inline] |
read access
const int& LocARNA::PatternPair::getSize | ( | ) | const [inline] |
read access
void LocARNA::PatternPair::setEPMScore | ( | int | myScore | ) |
write access
myScore | EPMscore is set to myScore |
void LocARNA::PatternPair::setOutsideBounds | ( | intPPair | myPPair | ) |
write access
myPPair | outsideBounds are set to myPPair |