SignalStatistics

public class SignalStatistics<T extends SpatialTemporalSignal<? extends Object>>

SignalStatistics is an auxiliary class that is used by the StatisticalModelChecker to record stats about the monitoring process and then return them in some readable way. The stats data is recorded by track trace by trace, but actual stats are computed lazily (i.e. only on call of the analyze method). Statistics is the Data Transfer Object (DTO) devoted to showing the results. TODO: Generalize so that it can accept both SpatialTemporalSignals and TemporalSignals

See also

for usage details

Constructors

Link copied to clipboard
public void SignalStatistics(int locations, int timePoints)
Initializes the internal timer(s) for the statistics

Types

Link copied to clipboard
public class Statistics implements Serializable
DTO that contains the computed statistics

Properties

Link copied to clipboard
public final Collection<T> results

Functions

Link copied to clipboard
Executes the computations and builds a DTO with the results.
Link copied to clipboard
Link copied to clipboard
public T track(Supplier<T> f)
Method to record statistics about a task that has to be run.