collision_free_speed_v2
#
Module Contents#
- class CollisionFreeSpeedModelV2[source]#
Collision Free Speed Model V2
This is a variation of the Collision Free Speed Model where geometry and neighbor repulsion are individual agent parameters instead of global parameters.
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 CollisionFreeSpeedModelV2AgentParameters[source]#
Agent parameters for Collision Free Speed Model V2.
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 = CollisionFreeSpeedModelV2AgentParameters(v0=0.9) # all agents are slower for p in positions: params.position = p sim.add_agent(params)
- class CollisionFreeSpeedModelV2State(backing)[source]#
-
- property strength_neighbor_repulsion: float[source]#
Strength of the repulsion from neighbors of this agent.
- Return type:
- property range_neighbor_repulsion: float[source]#
Range of the repulsion from neighbors of this agent.
- Return type: