passengersim.
callbacks¶
Callback hooks triggered at key points during a simulation.
Queued callbacks run at the beginning of each booking horizon, daily, or at the end of the horizon. Synchronous initialize/finalize callbacks bracket sample processing, before demand generation and after bookkeeping.
Modules
Daily tracer collecting bid prices for selected legs. |
|
Daily tracer collecting cumulative sales for selected legs. |
|
Load the decorated built-in tracers when the callback package is imported. |
|
Combination of tracer results from several trials, workers, or saved runs. |
|
Registered implementations for config-selected callbacks, separate from global attachment. |
|
Deprecated process-global callback attachment; prefer explicit attachments. |
Classes
Data collected during callbacks. |
|
Functions
Make a callback function available to |
|
|
Make a factory available to YAML declarations without attaching it. |
|
Register how tables declaring an aggregation process are combined. |
Make a tracer class available to |
|
|
Register a tracer using the configuration it declares on its class. |
|
Deprecated global registration for the begin_sample hook. |
|
Deprecated global registration for the daily hook. |
|
Deprecated global registration for the end_sample hook. |
Deprecated global registration for the finalize_sample hook. |
|
Deprecated global registration for the initialize_sample hook. |