Copyright | Copyright (c) 2012-2017 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 8.0.1
It defines a renderer that creates a web page when running the simulation experiment.
- data WebPageRenderer a = WebPageRenderer a ExperimentFilePath
- 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 ExperimentFilePath | A renderer that depends on the provided parameter and a directory path, where the simulation results are saved in. |
ExperimentView FinalStatsView (WebPageRenderer a) Source # | |
ExperimentView FinalTableView (WebPageRenderer a) Source # | |
ExperimentView InfoView (WebPageRenderer a) Source # | |
ExperimentView LastValueView (WebPageRenderer a) Source # | |
ExperimentView TableView (WebPageRenderer a) Source # | |
ExperimentView TimingStatsView (WebPageRenderer a) Source # | |
ExperimentView ExperimentSpecsView (WebPageRenderer a) Source # | |
ExperimentRendering (WebPageRenderer a) Source # | Rendering a web page with results when running the simulation experiment. |
data ExperimentContext (WebPageRenderer a) Source # | |
type ExperimentEnvironment (WebPageRenderer a) Source # | |
type ExperimentMonad (WebPageRenderer a) Source # | |
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.