LocARNA-2.0.0
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 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
 

Detailed Description

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

Constructor & Destructor Documentation

◆ PatternPair()

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

◆ get_struct()

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

read access

Returns
structure of the PatternPair

◆ getEPMScore()

const int LocARNA::PatternPair::getEPMScore ( ) const
inline

read access

Returns
EPMscore of the PatternPair

◆ getFirstPat()

const SinglePattern& LocARNA::PatternPair::getFirstPat ( ) const
inline

read access

Returns
first pattern of the PatternPair

◆ getId()

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

read access

Returns
Id of the PatternPair

◆ getInsideBounds()

const std::vector<intPPair>& LocARNA::PatternPair::getInsideBounds ( ) const
inline

read access

Returns
inside Bounds of the PatternPair

◆ getOutsideBounds()

const intPPair LocARNA::PatternPair::getOutsideBounds ( ) const
inline

read access

Returns
outside Bounds of the PatternPair

◆ getScore()

const int LocARNA::PatternPair::getScore ( ) const
inline

read access

Returns
score of the PatternPair

◆ getSecPat()

const SinglePattern& LocARNA::PatternPair::getSecPat ( ) const
inline

read access

Returns
second pattern of the PatternPair

◆ getSize()

const int& LocARNA::PatternPair::getSize ( ) const
inline

read access

Returns
size of the PatternPair

◆ setEPMScore()

void LocARNA::PatternPair::setEPMScore ( int  myScore)

write access

Parameters
myScoreEPMscore is set to myScore

◆ setOutsideBounds()

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: