VIPRA Documentation
Loading...
Searching...
No Matches
Model

Required Methods

In addition to the Base Module requirements Model modules require the following:

VIPRA_MODEL_INIT_STEP {}
VIPRA_MODEL_TIMESTEP {}

Details

VIPRA_MODEL_INIT_STEP {}
  • pedset - the Pedestrians Model implementation
  • map - the Map module implementation
  • goals - the Goals implementation
  • output - the Output Coordinator
  • engine - the Randomization engine

Returns

NONE

Exepected Effects

The pedestrian dynamics model is ready for the first simulation timestep


VIPRA_MODEL_TIMESTEP {}

Parameters

  • pedset - the Pedestrians Model implementation
  • map - the Map module implementation
  • goals - the Goals implementation
  • output - the Output Coordinator
  • state - the State to write the new positions and velocities to
  • deltaT - the timestep size
  • timestep - the current timestep number

Returns

NONE

Expected Effects

state contains the updated positions and velocities of each pedestrian