43 #ifndef __PEDVO_INITIALIZER_H__
44 #define __PEDVO_INITIALIZER_H__
124 virtual bool isRelevant( const ::std::string & tagName );
193 #endif // __PEDVO_INITIALIZER_H__
virtual bool setProperties(Menge::Agents::BaseAgent *agent)
Sets the properties of the given agent based on the initializer's values.
Definition: PedVOInitializer.cpp:92
virtual bool isRelevant(const ::std::string &tagName)
Reports if this AgentInitializer cares about the given AgentSet property XML tag. ...
Definition: PedVOInitializer.cpp:108
virtual Menge::Agents::AgentInitializer * copy() const
Creates a copy of this AgentInitializer instance.
Definition: PedVOInitializer.h:105
Generic abstract class which generates a scalar float value.
Definition: RandGenerator.h:99
virtual Menge::Agents::AgentInitializer::ParseResult processProperty(::std::string propName, TiXmlElement *node)
Definition: PedVOInitializer.cpp:141
FloatGenerator * _timeHorizonObst
The time horizon for predicting obstacle collisions.
Definition: PedVOInitializer.h:183
bool _denseAware
Controls if the agent respondes to density (true) or not (false).
Definition: PedVOInitializer.h:163
FloatGenerator * _strideBuffer
The stride factor of the agent.
Definition: PedVOInitializer.h:173
AgentInitializer()
Constructor.
Definition: PedVOInitializer.cpp:60
Contains the specification of the pedestrian model based on Pedestrian Velocity Obstacles.
Definition: PedVOAgent.cpp:46
Class which determines the agent properties for each new agent.
Definition: AgentInitializer.h:75
FloatGenerator * _strideFactor
The stride factor of the agent.
Definition: PedVOInitializer.h:168
ParseResult
Return type for parsing efforts. Helps the various derived classes coordinate their work...
Definition: AgentInitializer.h:81
FloatGenerator * _timeHorizon
The time horizon for predicting agent collisions.
Definition: PedVOInitializer.h:178
Class which determines the agent properties for each new PedVO agent.
Definition: PedVOInitializer.h:52
Defines the basic agent properties and functionality that all simulation agents share.
Definition: BaseAgent.h:123
The infrastructure for initializing agent properties from the scene specification file...
FloatGenerator * _turningBias
The turning bias.
Definition: PedVOInitializer.h:188
virtual void setDefaults()
Sets all generators to default values.
Definition: PedVOInitializer.cpp:166
virtual ~AgentInitializer()
Destructor.
Definition: PedVOInitializer.cpp:82
virtual Menge::Agents::AgentInitializer::ParseResult setFromXMLAttribute(const ::std::string ¶mName, const ::std::string &value)
Defines a constant value for an agent property as specified by the attribute of an agent property tag...
Definition: PedVOInitializer.cpp:114