generalized_centrifugal_force
#
Module Contents#
- class GeneralizedCentrifugalForceModel[source]#
Parameters for Generalized Centrifugal Force Model
All attributes are initialized with reasonably good defaults.
- max_neighbor_interpolation_distance[source]#
distance of interpolation of repulsive force for ped-ped interaction (r_eps in FIG. 7)
- max_geometry_interpolation_distance[source]#
distance of interpolation of repulsive force for ped-wall interaction (r_eps in FIG. 7)
- max_neighbor_repulsion_force[source]#
maximum of the repulsion force for ped-ped interaction by contact of ellipses (f_m in FIG. 7)
- class GeneralizedCentrifugalForceModelAgentParameters[source]#
Parameters required to create an Agent in the Generalized Centrifugal Force Model.
See the scientific publication for more details about this model https://arxiv.org/abs/1008.4297
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 = GeneralizedCentrifugalForceModelAgentParameters(speed=0.9) # all agents are slower for p in positions: params.position = p sim.add_agent(params)
- class GeneralizedCentrifugalForceModelState(backing)[source]#
-
- property a_v: float[source]#
Stretch of the ellipsis semi-axis along the movement vector.
- Return type:
- property a_min: float[source]#
Minimum length of the ellipsis semi-axis along the movement vector.
- Return type: