aivika-experiment-0.3: Simulation experiments for the Aivika library

Stabilityexperimental
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Safe HaskellNone

Simulation.Aivika.Experiment.SamplingStatsSource

Description

Tested with: GHC 7.6.3

It represents an optimized source of statistical data.

Synopsis

Documentation

data SamplingStatsSource a Source

Represents the optimized source of data for the statistics.

providerToDoubleStatsSource :: SeriesProvider -> Maybe (SamplingStatsSource Double)Source

Try to return the source of statistical data by the specified provider.

providerToIntStatsSource :: SeriesProvider -> Maybe (SamplingStatsSource Int)Source

Try to return the source of statistical data.

data SamplingStatsData a Source

Represents the optimized data to be included in the statistics.

samplingStatsSourceData :: SamplingStatsSource a -> Dynamics (SamplingStatsData a)Source

Get data from the source in the current time point.

addDataToSamplingStats :: SamplingData a => SamplingStatsData a -> SamplingStats a -> SamplingStats aSource

Add data from the source to the statistics.