Copyright | Copyright (c) 2012-2015, David Sorokin <david.sorokin@gmail.com> |
---|---|
License | BSD3 |
Maintainer | David Sorokin <david.sorokin@gmail.com> |
Stability | experimental |
Safe Haskell | None |
Language | Haskell98 |
Tested with: GHC 7.8.3
It defines a renderer that creates a web page when running the simulation experiment.
- data WebPageRenderer a = WebPageRenderer a
- data WebPageWriter = WebPageWriter {
- reporterWriteTOCHtml :: Int -> HtmlWriter ()
- reporterWriteHtml :: Int -> HtmlWriter ()
- type WebPageGenerator a = ExperimentGenerator (WebPageRenderer a)
Documentation
data WebPageRenderer a Source
It defines the web page renderer for simulation Experiment
.
WebPageRenderer a | A renderer that depends on the provided parameter. |
ExperimentView LastValueView (WebPageRenderer a) | |
ExperimentView TimingStatsView (WebPageRenderer a) | |
ExperimentView FinalStatsView (WebPageRenderer a) | |
ExperimentView ExperimentSpecsView (WebPageRenderer a) | |
ExperimentView TableView (WebPageRenderer a) | |
ExperimentView FinalTableView (WebPageRenderer a) | |
ExperimentRendering (WebPageRenderer a) | Rending a web page with results when running the simulation experiment. |
data ExperimentContext (WebPageRenderer a) = WebPageContext {} |
data WebPageWriter Source
It replies to the requests made by the web page renderer.
WebPageWriter | |
|
type WebPageGenerator a = ExperimentGenerator (WebPageRenderer a) Source
A convenient type synonym for describing a web page generator.