Menge
Modular Pedestrian Simulation Framework for Research and Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FDAgent.h
Go to the documentation of this file.
1 #ifndef __FD_AGENT_H__
2 #define __FD_AGENT_H__
3 
10 #include "BaseAgent.h"
11 
12 namespace Menge {
13 
14  namespace Agents {
18  class MENGE_API FDAgent : public BaseAgent {
19  public:
23  FDAgent();
24 
32  void setStrideParameters( float factor, float buffer );
33 
40  void adaptPreferredVelocity();
41 
48  inline float getStrideConst() const { return _strideConst; }
49 
56  inline float getSpeedConst() const { return _speedConst; }
57 
62  float _strideConst;
63 
68  float _speedConst;
69 
70  };
71  } // namespace Agents
72 } // namespace Menge
73 #endif // __FD_AGENT_H__
The core namespace. All elements of Menge are contained in this namespace.
Definition: AgentGenerator.cpp:5
float _strideConst
One of two derived constants for fundamental diagram compliance. This is a function of the stride fac...
Definition: FDAgent.h:62
Defines the fundamental-diagram-adherant agent.
Definition: FDAgent.h:18
float getSpeedConst() const
Report the agent's speed constant. see FDAgent::_speedConst.
Definition: FDAgent.h:56
float _speedConst
The second of two derived constants for fundamental diagram compliance. This is a function of the str...
Definition: FDAgent.h:68
Contains the BaseAgent class - the underlying class which defines the basic functionality for all sha...
Defines the basic agent properties and functionality that all simulation agents share.
Definition: BaseAgent.h:85
The namespace that contains the basic simulation mechanisms.
float getStrideConst() const
Report the agent's stride constant. see FDAgent::_strideConst.
Definition: FDAgent.h:48