collision_free_speed
#
Module Contents#
- class CollisionFreeSpeedModel[source]#
Collision Free Speed Model
A general description of the Collision Free Speed Model can be found in the originating publication https://arxiv.org/abs/1512.05597
A more detailed description can be found at https://pedestriandynamics.org/models/collision_free_speed_model/
- class CollisionFreeSpeedModelAgentParameters[source]#
Agent parameters for Collision Free Speed Model.
See the scientific publication for more details about this model https://arxiv.org/abs/1512.05597
Note
Instances of this type are copied when creating the agent, you can safely create one instance of this type and modify it between calls to add_agent
E.g.:
positions = [...] # List of initial agent positions params = CollisionFreeSpeedModelAgentParameters(v0=0.9) # all agents are slower for p in positions: params.position = p sim.add_agent(params)