39 #ifndef __JOHANSSON_SIMULATOR_H__
40 #define __JOHANSSON_SIMULATOR_H__
48 #include "mengeCommon.h"
52 using namespace Menge;
63 class Simulator :
public Agents::SimulatorBase< Agent > {
85 virtual bool isExpTarget(
const std::string & tagName ) {
return tagName ==
"Johansson"; }
94 virtual bool setExpParam(
const std::string & paramName,
const std::string & value )
throw( Agents::XMLParamException );
125 #endif // __JOHANSSON_SIMULATOR_H__
Defines the simulator operating on a Johansson::Agent.
Definition: JohanssonSimulator.h:63
static float REACTION_TIME
The reaction time used to define the driving force.
Definition: JohanssonSimulator.h:111
Definition of Johansson 2007 agent.
Definition: JohanssonAgent.h:58
Contains the specification of the pedestrian model from the Johansson et al., 2007 paper...
Definition: JohanssonAgent.cpp:42
static float FORCE_DISTANCE
The the fall-off distance of repulsive forces.
Definition: JohanssonSimulator.h:116
static float STRIDE_TIME
The time of a pedestrian step.
Definition: JohanssonSimulator.h:121
Definition of Johansson 2007 agent.
static float AGENT_SCALE
The magnitude of the inter-agent repulsion forces.
Definition: JohanssonSimulator.h:101
virtual bool isExpTarget(const std::string &tagName)
Reports if the given Experiment attribute tag name belongs to this simulator.
Definition: JohanssonSimulator.h:85
Simulator()
Constructor.
Definition: JohanssonSimulator.h:68
static float OBST_SCALE
The magnitude of the agent-obstacle repulsion forces.
Definition: JohanssonSimulator.h:106
virtual bool hasExpTarget()
Reports if there are non-common Experiment parameters that this simulator requires in the XML file...
Definition: JohanssonSimulator.h:76