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

CopyrightCopyright (c) 2012-2015, David Sorokin <david.sorokin@gmail.com>
LicenseBSD3
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell98

Simulation.Aivika.Experiment.SamplingStatsWriter

Description

Tested with: GHC 7.6.3

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.