#include <NFcore.hh>
This class maintains information about a "type" of molecule in the System. It keeps track of all reactions that this "type" of molecule can possibly be a part of and a list of the default binding sites and states. It also keeps track and updates all Observables that pertain to this MoleculeType. And perhaps most importantly, it keeps track of all Molecules that exist in the simulation of this molecule "type." It has functions which allow it also to populate itself with a number of default molecules, making initializations of the simulation easier.
MoleculeType::MoleculeType | ( | string | name, | |
vector< string > & | compName, | |||
System * | s | |||
) |
MoleculeType::MoleculeType | ( | string | name, | |
vector< string > & | compName, | |||
vector< string > & | defaultCompState, | |||
System * | s | |||
) |
MoleculeType::MoleculeType | ( | string | name, | |
vector< string > & | compName, | |||
vector< string > & | defaultCompState, | |||
vector< vector< string > > & | possibleCompStates, | |||
System * | system | |||
) |
MoleculeType::MoleculeType | ( | string | name, | |
vector< string > & | compName, | |||
vector< string > & | defaultCompState, | |||
vector< vector< string > > & | possibleCompStates, | |||
vector< bool > | isIntegerComponent, | |||
System * | system | |||
) |
MoleculeType::~MoleculeType | ( | ) |
string NFcore::MoleculeType::getName | ( | ) | const [inline] |
int NFcore::MoleculeType::getTypeID | ( | ) | const [inline] |
System* NFcore::MoleculeType::getSystem | ( | ) | const [inline] |
int NFcore::MoleculeType::getNumOfComponents | ( | ) | const [inline] |
string MoleculeType::getComponentName | ( | int | cIndex | ) | const |
void NFcore::MoleculeType::getPossibleComponentStates | ( | int | cIndex, | |
list< string > & | nameList | |||
) |
int NFcore::MoleculeType::getDefaultComponentState | ( | int | cIndex | ) | const [inline] |
int MoleculeType::getCompIndexFromName | ( | string | cName | ) | const |
string MoleculeType::getComponentStateName | ( | int | cIndex, | |
int | cValue | |||
) |
int MoleculeType::getStateValueFromName | ( | int | cIndex, | |
string | stateName | |||
) | const |
int NFcore::MoleculeType::getNumOfEquivalencyClasses | ( | ) | const [inline] |
string* NFcore::MoleculeType::getEquivalencyClassCompNames | ( | ) | const [inline] |
void MoleculeType::addEquivalentComponents | ( | vector< vector< string > > & | identicalComponents | ) |
bool MoleculeType::isEquivalentComponent | ( | string | cName | ) | const |
bool MoleculeType::isEquivalentComponent | ( | int | cIndex | ) | const |
void MoleculeType::getEquivalencyClass | ( | int *& | components, | |
int & | n_components, | |||
string | cName | |||
) | const |
int MoleculeType::getEquivalencyClassNumber | ( | string | cName | ) | const |
bool MoleculeType::isIntegerComponent | ( | string | cName | ) | const |
bool MoleculeType::isIntegerComponent | ( | int | cIndex | ) | const |
int NFcore::MoleculeType::getNumOfMolObs | ( | ) | const [inline] |
string MoleculeType::getMolObsName | ( | int | obsIndex | ) | const |
MoleculesObservable* NFcore::MoleculeType::getMolObs | ( | int | obsIndex | ) | const [inline] |
int MoleculeType::getMolObsCount | ( | int | obsIndex | ) | const |
void MoleculeType::removeFromObservables | ( | Molecule * | m | ) |
void MoleculeType::addToObservables | ( | Molecule * | m | ) |
void MoleculeType::outputMolObsNames | ( | NFstream & | fout | ) |
void MoleculeType::outputMolObsCounts | ( | NFstream & | fout | ) |
void MoleculeType::printMolObsNames | ( | ) |
void MoleculeType::printMolObsCounts | ( | ) |
void MoleculeType::addAllToObservables | ( | ) |
Molecule * MoleculeType::getMolecule | ( | int | ID_molecule | ) | const |
int MoleculeType::getMoleculeCount | ( | ) | const |
int NFcore::MoleculeType::getReactionCount | ( | ) | const [inline] |
int MoleculeType::getRxnIndex | ( | ReactionClass * | rxn, | |
int | rxnPosition | |||
) |
Molecule * MoleculeType::genDefaultMolecule | ( | ) |
void MoleculeType::addMoleculeToRunningSystem | ( | Molecule *& | mol | ) |
void MoleculeType::removeMoleculeFromRunningSystem | ( | Molecule *& | m | ) |
void MoleculeType::removeFromRxns | ( | Molecule * | m | ) |
void MoleculeType::addReactionClass | ( | ReactionClass * | r, | |
int | rPosition | |||
) |
void NFcore::MoleculeType::addMolObs | ( | MoleculesObservable * | mo | ) | [inline] |
int NFcore::MoleculeType::createComplex | ( | Molecule * | m | ) | [inline] |
void MoleculeType::addTemplateMolecule | ( | TemplateMolecule * | t | ) |
void MoleculeType::updateRxnMembership | ( | Molecule * | m | ) |
void MoleculeType::populateWithDefaultMolecules | ( | int | moleculeCount | ) |
void MoleculeType::prepareForSimulation | ( | ) |
void MoleculeType::printDetails | ( | ) | const |
void MoleculeType::printAllMolecules | ( | ) |
int MoleculeType::addLocalFunc_TypeI | ( | LocalFunction * | lf | ) |
int MoleculeType::addLocalFunc_TypeII | ( | LocalFunction * | lf | ) |
int NFcore::MoleculeType::getNumOfTypeIFunctions | ( | ) | const [inline] |
LocalFunction* NFcore::MoleculeType::getTypeILocalFunction | ( | int | index | ) | [inline] |
int NFcore::MoleculeType::getNumOfTypeIIFunctions | ( | ) | const [inline] |
LocalFunction* NFcore::MoleculeType::getTypeIILocalFunction | ( | int | index | ) | [inline] |
int NFcore::MoleculeType::getNumOfDORrxns | ( | ) | const [inline] |
ReactionClass* NFcore::MoleculeType::getDORrxn | ( | int | dorRxnIndex | ) | const [inline] |
int NFcore::MoleculeType::getDORrxnIndex | ( | int | dorRxnIndex | ) | const [inline] |
int NFcore::MoleculeType::getDORrxnPosition | ( | int | dorRxnIndex | ) | const [inline] |
void MoleculeType::setUpLocalFunctionListForMolecules | ( | ) |
void MoleculeType::init | ( | string | name, | |
vector< string > & | compName, | |||
vector< string > & | defaultCompState, | |||
vector< vector< string > > & | possibleCompStates, | |||
vector< bool > | isIntegerComponent, | |||
System * | system | |||
) | [protected] |
System* NFcore::MoleculeType::system [protected] |
string NFcore::MoleculeType::name [protected] |
int NFcore::MoleculeType::type_id [protected] |
int NFcore::MoleculeType::numOfComponents [protected] |
string* NFcore::MoleculeType::compName [protected] |
vector< vector < string > > NFcore::MoleculeType::possibleCompStates [protected] |
int* NFcore::MoleculeType::defaultCompState [protected] |
bool* NFcore::MoleculeType::isIntegerCompState [protected] |
int NFcore::MoleculeType::n_eqComp [protected] |
string* NFcore::MoleculeType::eqCompOriginalName [protected] |
int* NFcore::MoleculeType::eqCompSizes [protected] |
string** NFcore::MoleculeType::eqCompName [protected] |
int** NFcore::MoleculeType::eqCompIndex [protected] |
MoleculeList* NFcore::MoleculeType::mList [protected] |
vector<ReactionClass *> NFcore::MoleculeType::reactions [protected] |
vector<int> NFcore::MoleculeType::reactionPositions [protected] |
vector<int> NFcore::MoleculeType::indexOfDORrxns [protected] |
vector<MoleculesObservable *> NFcore::MoleculeType::molObs [protected] |
vector<TemplateMolecule *> NFcore::MoleculeType::allTemplates [protected] |
ReactionClass* NFcore::MoleculeType::rxn [protected] |