BioinstSim  2
 All Classes Functions Variables
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
CRMinRobotAgent Class Reference

Public Member Functions

 CRMinRobotAgent (CRobotAgent *ptr_robotAgent, CArguments *m_crmArguments)
 
virtual double GetCurrE (unsigned thtype)
 
virtual double GetCurrR (unsigned thtype)
 
virtual void SetCurrE (unsigned thtype, double f_currE)
 
virtual void SetCurrR (unsigned thtype, double f_currR)
 
virtual double GetAPC (unsigned apctype)
 
virtual double FreeThCells (double *E, double *R, double **C, unsigned int thtype)
 
virtual double AvailableBindingSites (double **C, unsigned int apctype)
 
virtual double Factorial (double val)
 
virtual double Combination (double N, double R)
 
virtual double Hyp (double N, double No, double M, double L)
 
virtual void ConjugatesQSS (double *E, double *R, double **C)
 
virtual void Derivative (double *E, double *R, double **C, double *deltaE, double *deltaR)
 
virtual double GetFVtoApcScaling ()
 
virtual bool GetConvergenceFlag ()
 
virtual double GetConvergenceError ()
 
virtual double GetConvergenceError_Perc ()
 
virtual void PrintCRMDetails (unsigned id)
 
virtual void SimulationStepUpdatePosition ()
 
void ScaleDownConjugates (double **f_Conjugates)
 

Static Public Member Functions

static unsigned int GetNumberOfSetBits (unsigned int x)
 

Public Attributes

double * m_pfSumEffectorsWeightedbyAffinity
 
double * m_pfSumRegulatorsWeightedbyAffinity
 

Protected Member Functions

virtual void UpdateState ()
 
virtual void Sense ()
 
virtual double GetWeight ()
 

Static Protected Member Functions

static double NormalizedAffinity (unsigned int v1, unsigned int v2)
 
static double NegExpDistAffinity (unsigned int v1, unsigned int v2, double k)
 

Protected Attributes

CRobotAgentrobotAgent
 
double step_h
 
double conjstep_h
 
double currE
 
double currR
 
double kon
 
double koff
 
double kpe
 
double kde
 
double kpr
 
double kdr
 
double se
 
double sr
 
unsigned int sites
 
double m_fTryExchangeProbability
 
double * m_pfEffectors
 
double * m_pfRegulators
 
double * m_pfEffectors_prev
 
double * m_pfRegulators_prev
 
double * m_pfAPCs
 
double * m_pfEffectors_Eu
 
double * m_pfRegulators_Eu
 
double * m_pfEffectors_Hu
 
double * m_pfRegulators_Hu
 
double * m_pfDeltaEffectors_k0
 
double * m_pfDeltaRegulators_k0
 
double * m_pfDeltaEffectors_k1
 
double * m_pfDeltaRegulators_k1
 
double ** m_pfDeltaConjugates_k0
 
double ** m_pfDeltaConjugates_k1
 
double ** m_pfConj_tmp_Eu
 
double ** m_pfConj_tmp_Hu
 
unsigned int m_unNumberOfReceptors
 
double ** m_pfConjugates
 
double ** m_pfConjugates_tmp
 
double ** m_pfConjugates_Eu
 
double ** m_pfEffectorConjugates
 
double ** m_pfRegulatorConjugates
 
double * m_pfEffectorConjugatesPerAPC
 
double * m_pfRegulatorConjugatesPerAPC
 
double ** m_pfAffinities
 
double * m_pfEff_h
 
double * m_pfReg_h
 
double m_fAttackProbability
 
double m_fcross_affinity
 
double m_fWeight
 
double m_fFVtoApcscaling
 
bool m_bConvergenceFlag
 
double m_dconvergence_error
 
double m_dpercconvergence_error
 

Member Function Documentation

void CRMinRobotAgent::Sense ( )
protectedvirtual

(M_PI * robotAgent->GetFVSenseRange() * robotAgent->GetFVSenseRange());


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