10 #ifndef _MARKOVRATETABLE_H
11 #define _MARKOVRATETABLE_H
38 vector< vector< T > >
resize( vector< vector< T > >table,
unsigned int n, T
init )
42 for (
unsigned int i = 0; i < n; ++i )
43 table[i].
resize( n, init );
63 double lookup1dIndex(
unsigned int,
unsigned int,
unsigned int );
64 double lookup2dValue(
unsigned int,
unsigned int,
double,
double );
65 double lookup2dIndex(
unsigned int,
unsigned int,
unsigned int,
unsigned int );
84 vector< vector< double > >
getQ()
const;
87 double getVm( )
const;
100 bool isRateZero(
unsigned int,
unsigned int )
const ;
107 bool isRate1d(
unsigned int,
unsigned int )
const ;
114 bool isRate2d(
unsigned int,
unsigned int )
const ;
154 void init(
unsigned int );
194 vector< vector< double > >
Q_;
vector< unsigned int > listOfConstantRates_
Id init(int argc, char **argv, bool &doUnitTests, bool &doRegressionTests, unsigned int &benchmark)
vector< vector< Interpol2D * > > int2dTables_
vector< unsigned int > getListOf2dRates()
bool areIndicesOutOfBounds(unsigned int, unsigned int) const
void process(const Eref &, ProcPtr)
Interpol2D * getInt2dChildTable(unsigned int, unsigned int) const
void reinit(const Eref &, ProcPtr)
bool areAllRatesVoltageDep()
bool isRateConstant(unsigned int, unsigned int) const
vector< vector< double > > getQ() const
bool areAllRatesLigandDep()
void setVtChildTable(unsigned int, unsigned int, Id, unsigned int)
bool areAnyRatesLigandDep()
vector< unsigned int > listOf2dRates_
VectorTable * getVtChildTable(unsigned int, unsigned int) const
vector< unsigned int > getListOfConstantRates()
vector< unsigned int > listOfLigandRates_
static const Cinfo * initCinfo()
friend istream & operator>>(istream &, MarkovRateTable &)
vector< unsigned int > getListOf1dRates()
bool isRateLigandDep(unsigned int, unsigned int) const
bool areAnyRatesVoltageDep()
vector< unsigned int > getListOfVoltageRates()
bool isRate1d(unsigned int, unsigned int) const
bool isInitialized() const
vector< vector< VectorTable * > > vtTables_
bool isRate2d(unsigned int, unsigned int) const
bool isRateZero(unsigned int, unsigned int) const
vector< vector< T > > resize(vector< vector< T > >table, unsigned int n, T init)
bool areAllRatesConstant()
vector< vector< unsigned int > > useLigandConc_
void innerSetVtChildTable(unsigned int, unsigned int, VectorTable, unsigned int)
double lookup2dValue(unsigned int, unsigned int, double, double)
void setConstantRate(unsigned int, unsigned int, double)
unsigned int getSize() const
vector< unsigned int > listOfVoltageRates_
void setLigandConc(double)
vector< unsigned int > getListOfLigandRates()
void handleLigandConc(double)
void setInt2dChildTable(unsigned int, unsigned int, Id)
double lookup2dIndex(unsigned int, unsigned int, unsigned int, unsigned int)
vector< unsigned int > listOf1dRates_
double getLigandConc() const
double lookup1dValue(unsigned int, unsigned int, double)
double lookup1dIndex(unsigned int, unsigned int, unsigned int)
void innerSetInt2dChildTable(unsigned int, unsigned int, Interpol2D)
vector< vector< double > > Q_