biu::PullMoveSet::PullMoveDecoder Class Reference
#include <PullMoveSet.hh>
Detailed Description
This class generates all pull positions for the pull move set from the given LatticeDescritor.
Definition at line 25 of file PullMoveSet.hh.
Public Member Functions | |
const LatticeModel *const | getLattice (void) const |
size_t | getMoveNumber (const size_t proteinLength) const |
IPointVec | lookupEndMove (const IntPoint &rootpoint, const size_t &moveIndex) const |
void | lookupMove (const size_t &proteinLength, size_t &moveIndex, bool &pullFront, bool &stdPull, size_t &movePosition) const |
IPointVec | lookupStdMove (const IntPoint &rootpoint, const IntPoint &fixpoint, const size_t &moveIndex) const |
PullMoveDecoder (const LatticeModel *const lattice) | |
Protected Attributes | |
size_t | directionNumber |
size_t | endPullNumber |
std::vector< IPointVec > | endPulls |
const biu::LatticeModel *const | lattice |
IPointVec | neighDirections |
size_t | stdPullNumber |
std::vector< std::vector< IPointVec > > | stdPulls |
Constructor & Destructor Documentation
biu::PullMoveSet::PullMoveDecoder::PullMoveDecoder | ( | const LatticeModel *const | lattice | ) |
Constructs a PullMoveDecoder using the given lattice.
Definition at line 7 of file PullMoveSet.cc.
Member Function Documentation
const LatticeModel *const biu::PullMoveSet::PullMoveDecoder::getLattice | ( | void | ) | const |
Definition at line 177 of file PullMoveSet.cc.
size_t biu::PullMoveSet::PullMoveDecoder::getMoveNumber | ( | const size_t | proteinLength | ) | const |
Returns the number of possible moves for a protein of length proteinLength.
Definition at line 170 of file PullMoveSet.cc.
IPointVec biu::PullMoveSet::PullMoveDecoder::lookupEndMove | ( | const IntPoint & | rootpoint, | |
const size_t & | moveIndex | |||
) | const |
Returns the two points where the tail will be pulled to.
Definition at line 141 of file PullMoveSet.cc.
void biu::PullMoveSet::PullMoveDecoder::lookupMove | ( | const size_t & | proteinLength, | |
size_t & | moveIndex, | |||
bool & | pullFront, | |||
bool & | stdPull, | |||
size_t & | movePosition | |||
) | const |
Decodes a given moveIndex and returns the values pullFront, stdPull and movePosition.
Definition at line 73 of file PullMoveSet.cc.
IPointVec biu::PullMoveSet::PullMoveDecoder::lookupStdMove | ( | const IntPoint & | rootpoint, | |
const IntPoint & | fixpoint, | |||
const size_t & | moveIndex | |||
) | const |
Returns c and l pull points for given rootpoint and fixpoint where rootpoint is the position which will be pulled and fixpoint is the position which will stay fixed.
Definition at line 151 of file PullMoveSet.cc.
Field Documentation
size_t biu::PullMoveSet::PullMoveDecoder::directionNumber [protected] |
number of possible neighbor vecors
Definition at line 41 of file PullMoveSet.hh.
size_t biu::PullMoveSet::PullMoveDecoder::endPullNumber [protected] |
number of end pulls
Definition at line 46 of file PullMoveSet.hh.
std::vector< IPointVec > biu::PullMoveSet::PullMoveDecoder::endPulls [protected] |
stores the end pull pull points
Definition at line 38 of file PullMoveSet.hh.
const biu::LatticeModel* const biu::PullMoveSet::PullMoveDecoder::lattice [protected] |
stores all possible neighbor vectors as reference
Definition at line 32 of file PullMoveSet.hh.
size_t biu::PullMoveSet::PullMoveDecoder::stdPullNumber [protected] |
number of standard pulls
Definition at line 44 of file PullMoveSet.hh.
std::vector< std::vector< IPointVec > > biu::PullMoveSet::PullMoveDecoder::stdPulls [protected] |
stores the C and L pull points
Definition at line 35 of file PullMoveSet.hh.
The documentation for this class was generated from the following files:
- src/biu/PullMoveSet.hh
- src/biu/PullMoveSet.cc