BaseFadeOutTracker#
- class BaseFadeOutTracker(model, verbose=False)[source]#
Bases:
BasePhaseA phase that tracks and records the number of nodes experiencing fade-outs over time.
This component maintains a time series of fade-out counts by monitoring the number of nodes that have transitioned to state 0 at each simulation tick. The data can be used for analyzing the temporal dynamics of fade-outs in the network.
- fade_out_tracker#
An array of length nticks that stores the count of nodes in state 0 at each time tick.
- Type:
numpy.ndarray
- Parameters:
model – The simulation model instance.
verbose (
bool) – Whether to enable verbose logging. Defaults to False.
Initialize the component.
- Parameters:
model – The model instance this component belongs to.
verbose (
bool) – Whether to enable verbose output. Defaults to False.