HOG2
Public Member Functions | Public Attributes | List of all members
UnitInfo< state, action, environment > Class Template Reference

#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
 

Detailed Description

template<class state, class action, class environment>
class UnitInfo< state, action, environment >

Definition at line 47 of file UnitSimulation.h.

Constructor & Destructor Documentation

◆ UnitInfo()

template<class state , class action , class environment >
UnitInfo< state, action, environment >::UnitInfo ( )
inline

Definition at line 49 of file UnitSimulation.h.

Member Function Documentation

◆ GetPriority()

template<class state , class action , class environment >
int UnitInfo< state, action, environment >::GetPriority ( )
inline

Definition at line 51 of file UnitSimulation.h.

References UnitInfo< state, action, environment >::agent.

Member Data Documentation

◆ agent

template<class state , class action , class environment >
Unit<state, action, environment>* UnitInfo< state, action, environment >::agent

◆ converged

template<class state , class action , class environment >
bool UnitInfo< state, action, environment >::converged

Definition at line 62 of file UnitSimulation.h.

◆ currentState

template<class state , class action , class environment >
state UnitInfo< state, action, environment >::currentState

◆ historyIndex

template<class state , class action , class environment >
unsigned int UnitInfo< state, action, environment >::historyIndex

◆ lastMove

template<class state , class action , class environment >
action UnitInfo< state, action, environment >::lastMove

◆ lastState

template<class state , class action , class environment >
state UnitInfo< state, action, environment >::lastState

◆ lastTime

template<class state , class action , class environment >
double UnitInfo< state, action, environment >::lastTime

◆ nextTime

template<class state , class action , class environment >
double UnitInfo< state, action, environment >::nextTime

◆ startState

template<class state , class action , class environment >
state UnitInfo< state, action, environment >::startState

◆ stateHistory

template<class state , class action , class environment >
std::vector<TimeStep<state, action> > UnitInfo< state, action, environment >::stateHistory

◆ totalDistance

template<class state , class action , class environment >
double UnitInfo< state, action, environment >::totalDistance

◆ totalThinking

template<class state , class action , class environment >
double UnitInfo< state, action, environment >::totalThinking

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