Agent definition for the Helbing pedestrian model.
More...
#include <HelbingAgent.h>
|
float | _mass |
| The mass of the agent.
|
|
Agent definition for the Helbing pedestrian model.
Vector2 Helbing::Agent::agentForce |
( |
const Agent * |
other | ) |
const |
Compute the force due to another agent.
- Parameters
-
other | A pointer to a neighboring agent |
- Returns
- The force imparted by the other agent on this agent
Vector2 Helbing::Agent::drivingForce |
( |
| ) |
const |
Computes the driving force for the agent.
- Returns
- The vector corresponding to the agent's driving force.
Vector2 Helbing::Agent::obstacleForce |
( |
const Agents::Obstacle * |
obst | ) |
const |
Compute the force due to a nearby obstacle.
- Parameters
-
obst | A pointer to the obstacle |
- Returns
- The force imparted by the obstacle on this agent
The documentation for this class was generated from the following files:
- src/Plugins/AgtHelbing/HelbingAgent.h
- src/Plugins/AgtHelbing/HelbingAgent.cpp