HOG2
Public Member Functions | List of all members
SimulationInfo< state, action, environment > Class Template Referenceabstract

#include <SimulationInfo.h>

Inheritance diagram for SimulationInfo< state, action, environment >:
Inheritance graph
[legend]

Public Member Functions

virtual ~SimulationInfo ()
 
virtual double GetSimulationTime () const =0
 
virtual unsigned int GetNumUnits () const =0
 
virtual void GetPublicUnitInfo (unsigned int unitnum, PublicUnitInfo< state, action, environment > &) const =0
 
virtual unsigned int GetNumUnitGroups () const =0
 
virtual unsigned int GetCurrentUnit () const =0
 
virtual StatCollectionGetStats ()=0
 

Detailed Description

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

public information that will be given to every unit

Definition at line 13 of file SimulationInfo.h.

Constructor & Destructor Documentation

◆ ~SimulationInfo()

template<class state , class action , class environment >
virtual SimulationInfo< state, action, environment >::~SimulationInfo ( )
inlinevirtual

Definition at line 20 of file SimulationInfo.h.

Member Function Documentation

◆ GetCurrentUnit()

template<class state , class action , class environment >
virtual unsigned int SimulationInfo< state, action, environment >::GetCurrentUnit ( ) const
pure virtual

◆ GetNumUnitGroups()

template<class state , class action , class environment >
virtual unsigned int SimulationInfo< state, action, environment >::GetNumUnitGroups ( ) const
pure virtual

◆ GetNumUnits()

template<class state , class action , class environment >
virtual unsigned int SimulationInfo< state, action, environment >::GetNumUnits ( ) const
pure virtual

◆ GetPublicUnitInfo()

template<class state , class action , class environment >
virtual void SimulationInfo< state, action, environment >::GetPublicUnitInfo ( unsigned int  unitnum,
PublicUnitInfo< state, action, environment > &   
) const
pure virtual

◆ GetSimulationTime()

template<class state , class action , class environment >
virtual double SimulationInfo< state, action, environment >::GetSimulationTime ( ) const
pure virtual

◆ GetStats()

template<class state , class action , class environment >
virtual StatCollection* SimulationInfo< state, action, environment >::GetStats ( )
pure virtual

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