traveler.demo.tour_mode.tour_mode_utilities#

traveler.demo.tour_mode.tour_mode_utilities(tours, store, param)[source]#

Compute demonstration tour-mode utilities.

Parameters:
  • tours (JaxTable) – Tours containing origin, destination, and time-period fields.

  • store (AttrPyTree) – Data store containing skim arrays.

  • param (dict[str, float]) – Tour-mode coefficients and the walking-speed conversion.

Returns:

Utilities for drive-alone, shared-ride, and walk alternatives.

Return type:

dict[str, jax.Array]