7 #ifndef __GCF_AGENT_H__
8 #define __GCF_AGENT_H__
13 using namespace Menge;
19 class Agent :
public Agents::BaseAgent {
42 void update(
float timeStep );
47 void computeNewVelocity();
59 return _ellipse.getMinor();
113 float computeDistanceResponse(
float effDist );
118 void updateEllipse();
Contains the specification of the generalized centrifugal force pedestrian model. ...
Definition: Ellipse.cpp:9
float getRadius() const
Used in FSM machinery to determine clearance.
Definition: GCFAgent.h:58
float _aMin
Minimum ellipse size in facing direction.
Definition: GCFAgent.h:86
Ellipse _ellipse
The ellipse representing the agent's volume.
Definition: GCFAgent.h:79
float _bMax
The maximum ellipse width for slow movement This is a bad formulation, because when speed is zero...
Definition: GCFAgent.h:98
Definition of an ellipse.
Definition: Ellipse.h:24
The specification of the generalized centrifugal force model agent.
Definition: GCFAgent.h:19
void setStrideParameters(float factor, float buffer)
Stub function to make compatible with the fsm machinery.
Definition: GCFAgent.h:71
float _aRate
Rate at which ellipse major axis grows w.r.t. speed.
Definition: GCFAgent.h:91
Definition of ellipse geometry and queries.
void setRadius(float radius)
Stub function to make compatible with the fsm machinery TODO: Determine if I need this – I believe I...
Definition: GCFAgent.h:66
float _bGrowth
The maximum increase of ellipse size in perpendicular direction.
Definition: GCFAgent.h:103