46 #ifndef __SIMULATOR_STATE_H__
47 #define __SIMULATOR_STATE_H__
49 #include "mengeCommon.h"
77 void setAgentState(
size_t id,
const std::string & stateName );
96 #endif // __SIMULATOR_STATE_H__
HASH_MAP< size_t, std::string > _agentStates
A mapping from agent id to state name.
Definition: SimulatorState.h:91
The core namespace. All elements of Menge are contained in this namespace.
Definition: AgentGenerator.cpp:43
void setAgentState(size_t id, const std::string &stateName)
Sets the state for the given agent.
Definition: SimulatorState.cpp:55
const std::string getAgentState(size_t id) const
Reports the state name for the given agent.
Definition: SimulatorState.cpp:61
The namespace that contains the basic simulation mechanisms.
A class which caches the state of the simulator.
Definition: SimulatorState.h:64
SimulatorState()
Constructor.
Definition: SimulatorState.cpp:50