traveler.steps.simple_choice.simulate_choice#
- simple_choice.simulate_choice(store, *, choosers=None, param=None)[source]#
Make a choice using a simple choice model.
- Parameters:
store (AbstractStore) – A store containing the referenced table, and any additional data such as skims.
choosers (WorkingTable) – A table containing choosers data.
param (dict[str, float], optional) – A dictionary of parameters for the utility function. If None, uses the default parameters.
- Returns:
An array of indices representing the chosen mode for each tour.
- Return type:
jax.Array