Go to the documentation of this file.
4 #ifndef SIMULATIONINFO_H
5 #define SIMULATIONINFO_H
8 template<
class state,
class action,
class environment>
12 template<
class state,
class action,
class environment>
40 template<
class state,
class action,
class environment>
45 action _lastMove,
double _lastTime,
double _nextTime)
49 void init(state &_startState, state &_currentState, state &_lastState,
50 action _lastMove,
double _lastTime,
double _nextTime)
PublicUnitInfo(state &_startState, state &_currentState, state &_lastState, action _lastMove, double _lastTime, double _nextTime)
virtual double GetSimulationTime() const =0
virtual unsigned int GetNumUnitGroups() const =0
virtual unsigned int GetNumUnits() const =0
void init(state &_startState, state &_currentState, state &_lastState, action _lastMove, double _lastTime, double _nextTime)
virtual StatCollection * GetStats()=0
virtual void GetPublicUnitInfo(unsigned int unitnum, PublicUnitInfo< state, action, environment > &) const =0
The StatCollection class is for collecting stats across different parts of the simulation.
virtual ~SimulationInfo()
virtual unsigned int GetCurrentUnit() const =0