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

MaintainerDavid Sorokin <>
Safe HaskellNone



Tested with: GHC 7.6.3

It represents an optimized source of statistical data.



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 -> Event (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.