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

Public Member Functions

 LINEQinRobotAgent (CRobotAgent *ptr_robotAgent, CArguments *m_lineqArguments)
 
virtual double GetLineqFV (unsigned index)
 
virtual void SetLineqFV (unsigned index, double f_hn)
 
virtual double GetAPC (unsigned apctype)
 
virtual double GetFVtoApcScaling ()
 
virtual void PrintLINEQDetails (unsigned id)
 
virtual void SimulationStepUpdatePosition ()
 

Static Public Member Functions

static unsigned int GetNumberOfSetBits (unsigned int x)
 

Protected Member Functions

double GetAf (unsigned int v1, unsigned int v2)
 
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 m_fTryExchangeProbability
 
double m_fMemory
 
double m_fThreshold
 
double * m_pfLineqFV
 
double * m_pfLineqFV_prev
 
double * m_pfAPCs
 
unsigned int m_unNumberOfReceptors
 
double m_fcross_affinity
 
double m_fWeight
 
double m_fFVtoApcscaling
 

Member Function Documentation

void LINEQinRobotAgent::Sense ( )
protectedvirtual

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


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