1 #ifndef TESTEXPERIMENT_H_
2 #define TESTEXPERIMENT_H_
7 #include "experiment.h"
9 #include "robotagent.h"
10 #include "robotagent_optimised.h"
60 virtual CAgent* CreateAgent();
61 virtual void SimulationStep(
unsigned int un_step_number);
64 virtual void PrintStatsForAgent(
CAgent* pc_agent);
65 virtual void PrintVelocityDifference(
CAgent* pc_agent,
double f_range);
66 vector<CBehavior*> GetAgentBehavior(ESwarmBehavType swarmbehavType,
CAgent* previousAgent);
68 ESwarmBehavType m_eswarmbehavType, m_eerrorbehavType;
71 unsigned int m_unMisbehaveStep;
72 unsigned int m_unNormalAgentToTrack;
73 unsigned int m_unAbnormalAgentToTrack;
74 unsigned int m_unNumAbnormalAgents;
75 int m_iSwitchNormalBehavior;
85 CAgent** m_ppcListAgentsCreated;