BioinstSim  2
 All Classes Functions Variables
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CTestExperiment Class Reference
Inheritance diagram for CTestExperiment:
CExperiment CSimObject

Public Member Functions

 CTestExperiment (CArguments *pc_experiment_arguments, CArguments *pc_arena_arguments, CArguments *pc_agent_arguments, CArguments *pc_model_arguments)
 TODO replace the many preprocessor OPTIMISE switches used in typecasting with some smart typedef.
 
virtual CAgentCreateAgent ()
 
virtual void SimulationStep (unsigned int un_step_number)
 
- Public Member Functions inherited from CExperiment
 CExperiment (CArguments *pc_experiment_arguments, CArguments *pc_arena_arguments, CArguments *pc_agent_arguments, CArguments *pc_model_arguments)
 
virtual CSimulatorCreateSimulator (unsigned int un_number_of_cycles)
 
- Public Member Functions inherited from CSimObject
 CSimObject (const char *pch_name)
 
const char * GetName () const
 
virtual void Draw (CRender *pc_render)
 
virtual void Keypressed (int keycode)
 
virtual void AddChild (CSimObject *pc_child)
 
virtual void RemoveChild (CSimObject *pc_child)
 
virtual void PrintfChildren (unsigned indent)
 
virtual TSimObjectVector * GetChildren ()
 

Protected Member Functions

virtual void PrintStatsForAgent (CAgent *pc_agent)
 
virtual void PrintVelocityDifference (CAgent *pc_agent, double f_range)
 
vector< CBehavior * > GetAgentBehavior (ESwarmBehavType swarmbehavType, CAgent *previousAgent)
 
- Protected Member Functions inherited from CExperiment
virtual CArenaCreateArena ()
 
virtual void CreateAndAddAgents (CSimulator *pc_simulator)
 
virtual void PlaceAgentRandomly (CAgent *pc_agent)
 
virtual void PlaceAgentRandomly (CAgent *pc_agent, double f_origin_x, double f_origin_y, double f_radius)
 
virtual void PlaceAgentRandomly (CAgent *pc_agent, double f_origin_x, double f_origin_y, double f_inner_radius, double f_outer_radius)
 

Protected Attributes

ESwarmBehavType m_eswarmbehavType
 
ESwarmBehavType m_eerrorbehavType
 
unsigned int m_unMisbehaveStep
 
unsigned int m_unNormalAgentToTrack
 
unsigned int m_unAbnormalAgentToTrack
 
unsigned int m_unNumAbnormalAgents
 
int m_iSwitchNormalBehavior
 
CRobotAgentOptimisedm_pcMisbehaveAgent [20]
 
CRobotAgentOptimisedm_pcNormalAgentToTrack
 
CAgent ** m_ppcListAgentsCreated
 
CAgentpcHomeToAgent
 
- Protected Attributes inherited from CExperiment
CArgumentsm_pcExperimentArguments
 
CArgumentsm_pcArenaArguments
 
CArgumentsm_pcAgentArguments
 
CArgumentsm_pcModelArguments
 
CArenam_pcArena
 
CSimulatorm_pcSimulator
 
unsigned int m_unNumberOfAgents
 
unsigned int m_unNumberOfColors
 
- Protected Attributes inherited from CSimObject
char * m_pchName
 
TSimObjectVector m_vecSimObjectChildren
 

Additional Inherited Members

- Static Public Attributes inherited from CSimObject
static bool g_bShuffleChildren = false
 

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