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

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

Simulation.Aivika.Experiment.SamplingStatsWriter

Description

Tested with: GHC 7.4.1

The module defines SamplingStatsWriter that knows how to write the sampling statistics in HTML.

Synopsis

Documentation

data SamplingStatsWriter a Source

Defines a writer that knows how to represent the SamplingStats as the HTML table.

Constructors

SamplingStatsWriter 

Fields

samplingStatsWidth :: Int

The width of the HTML table.

samplingStatsMeanText :: String

Translated text "mean".

samplingStatsDeviationText :: String

Translated text "deviation".

samplingStatsMinText :: String

Translated text "minimum".

samplingStatsMaxText :: String

Translated text "maximum".

samplingStatsCountText :: String

Translated text "count".

samplingStatsFormatter :: ShowS

The formatter of numbers.

samplingStatsWrite :: SamplingStatsWriter a -> String -> SamplingStats a -> HtmlWriter ()

This function reprensents the named statistics as the HTML table.