LocARNA-1.8.11
Public Member Functions | List of all members
LocARNA::PatternPair Class Reference

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. More...
 
virtual ~PatternPair ()
 Destructor.
 
const std::string & getId () const
 
const int & getSize () const
 
const SinglePatterngetFirstPat () const
 
const SinglePatterngetSecPat () 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
 

Detailed Description

is able to manage an EPM, consists of 2 singlepatterns, one in each RNA

Constructor & Destructor Documentation

LocARNA::PatternPair::PatternPair ( const std::string &  myId,
const SinglePattern myFirstPat,
const SinglePattern mySecPat,
const std::string &  structure_,
int &  score_ 
)
inline

Constructor.

Parameters
myIdId for PatternPair
myFirstPatfirst Pattern
mySecPatsecond Pattern
structure_structure
score_score

Member Function Documentation

const std::string& LocARNA::PatternPair::get_struct ( ) const
inline

read access

Returns
structure of the PatternPair
const int LocARNA::PatternPair::getEPMScore ( ) const
inline

read access

Returns
EPMscore of the PatternPair
const SinglePattern& LocARNA::PatternPair::getFirstPat ( ) const
inline

read access

Returns
first pattern of the PatternPair
const std::string& LocARNA::PatternPair::getId ( ) const
inline

read access

Returns
Id of the PatternPair
const std::vector<intPPair>& LocARNA::PatternPair::getInsideBounds ( ) const
inline

read access

Returns
inside Bounds of the PatternPair
const intPPair LocARNA::PatternPair::getOutsideBounds ( ) const
inline

read access

Returns
outside Bounds of the PatternPair
const int LocARNA::PatternPair::getScore ( ) const
inline

read access

Returns
score of the PatternPair
const SinglePattern& LocARNA::PatternPair::getSecPat ( ) const
inline

read access

Returns
second pattern of the PatternPair
const int& LocARNA::PatternPair::getSize ( ) const
inline

read access

Returns
size of the PatternPair
void LocARNA::PatternPair::setEPMScore ( int  myScore)

write access

Parameters
myScoreEPMscore is set to myScore
void LocARNA::PatternPair::setOutsideBounds ( intPPair  myPPair)

write access

Parameters
myPPairoutsideBounds are set to myPPair

The documentation for this class was generated from the following files: