46 #ifndef __ZANLUNGO_AGENT_H__
47 #define __ZANLUNGO_AGENT_H__
51 using namespace Menge;
57 class Agent :
public Agents::BaseAgent {
76 bool computeTTI(
float & tti )
const;
84 Vector2 agentForce(
const Agent * other,
float T_i )
const;
89 void computeNewVelocity();
94 inline float getFOV()
const {
return 3.14159265f ; }
108 float rightOfWayVel( Vector2 & otherVel,
const Vector2 & otherPrefVel,
float otherPriority, Vector2 & vel )
const;
118 #endif // __ZANLUNGO_AGENT_H__
float getFOV() const
Reports the field of view for the agent.
Definition: ZanlungoAgent.h:94
float _mass
The mass of the agent.
Definition: ZanlungoAgent.h:113
Contains the specification of the pedestrian model based on the Zanlungo et al., 2011 paper...
Definition: ZanlungoAgent.cpp:44
Agent definition for the Zanlungo pedestrian model.
Definition: ZanlungoAgent.h:57