GenericTracer¶
- class passengersim.tracers.generic.GenericTracer[source]¶
Bases:
ABCMethods
__init__()attach(sim)Attach this tracer to a Simulation, which will be traced as it runs.
finalize()Convert the internal counters on this tracer to a dataframe.
fresh()Return a fresh copy of this tracer, tracing the same targets but not sharing state.
reset()Reset the internal counters on this tracer to a null state.
Attributes
-
name : str =
'generic_tracer'¶
- abstractmethod fresh() GenericTracer[source]¶
Return a fresh copy of this tracer, tracing the same targets but not sharing state.
- abstractmethod attach(sim: Simulation) None[source]¶
Attach this tracer to a Simulation, which will be traced as it runs.
-
name : str =