HOG2
|
#include <UnitSimulation.h>
Public Member Functions | |
UnitInfo () | |
int | GetPriority () |
Public Attributes | |
Unit< state, action, environment > * | agent |
action | lastMove |
state | startState |
state | lastState |
state | currentState |
double | lastTime |
double | nextTime |
unsigned int | historyIndex |
double | totalDistance |
double | totalThinking |
bool | converged |
std::vector< TimeStep< state, action > > | stateHistory |
Definition at line 47 of file UnitSimulation.h.
|
inline |
Definition at line 49 of file UnitSimulation.h.
|
inline |
Definition at line 51 of file UnitSimulation.h.
References UnitInfo< state, action, environment >::agent.
Unit<state, action, environment>* UnitInfo< state, action, environment >::agent |
Definition at line 50 of file UnitSimulation.h.
Referenced by UnitSimulation< state, action, environment >::AddUnit(), UnitSimulation< state, action, environment >::ClearAllUnits(), UnitInfo< state, action, environment >::GetPriority(), EpisodicSimulation< state, action, environment >::IsUnitRacing(), UnitSimulation< state, action, environment >::MakeUnitMove(), UnitSimulation< state, action, environment >::StepUnitTime(), and EpisodicSimulation< state, action, environment >::UnitOnTargetStatus().
bool UnitInfo< state, action, environment >::converged |
Definition at line 62 of file UnitSimulation.h.
state UnitInfo< state, action, environment >::currentState |
Definition at line 55 of file UnitSimulation.h.
Referenced by UnitSimulation< state, action, environment >::AddUnit(), UnitSimulation< state, action, environment >::ClearAllUnits(), UnitSimulation< state, action, environment >::MakeUnitMove(), and UnitSimulation< state, action, environment >::StepUnitTime().
unsigned int UnitInfo< state, action, environment >::historyIndex |
Definition at line 59 of file UnitSimulation.h.
Referenced by UnitSimulation< state, action, environment >::AddUnit().
action UnitInfo< state, action, environment >::lastMove |
Definition at line 52 of file UnitSimulation.h.
Referenced by UnitSimulation< state, action, environment >::StepUnitTime().
state UnitInfo< state, action, environment >::lastState |
Definition at line 54 of file UnitSimulation.h.
Referenced by UnitSimulation< state, action, environment >::AddUnit(), and UnitSimulation< state, action, environment >::StepUnitTime().
double UnitInfo< state, action, environment >::lastTime |
Definition at line 57 of file UnitSimulation.h.
Referenced by UnitSimulation< state, action, environment >::StepUnitTime().
double UnitInfo< state, action, environment >::nextTime |
Definition at line 58 of file UnitSimulation.h.
Referenced by UnitSimulation< state, action, environment >::AddUnit(), and UnitSimulation< state, action, environment >::StepUnitTime().
state UnitInfo< state, action, environment >::startState |
Definition at line 53 of file UnitSimulation.h.
Referenced by UnitSimulation< state, action, environment >::AddUnit().
std::vector<TimeStep<state, action> > UnitInfo< state, action, environment >::stateHistory |
Definition at line 63 of file UnitSimulation.h.
Referenced by UnitSimulation< state, action, environment >::AddUnit().
double UnitInfo< state, action, environment >::totalDistance |
Definition at line 60 of file UnitSimulation.h.
Referenced by UnitSimulation< state, action, environment >::AddUnit(), UnitSimulation< state, action, environment >::MakeUnitMove(), and EpisodicSimulation< state, action, environment >::UnitOnTargetStatus().
double UnitInfo< state, action, environment >::totalThinking |
Definition at line 61 of file UnitSimulation.h.
Referenced by UnitSimulation< state, action, environment >::AddUnit(), and UnitSimulation< state, action, environment >::StepUnitTime().