aivika-experiment-5.4.0: Simulation experiments for the Aivika library
CopyrightCopyright (c) 2012-2017 David Sorokin <david.sorokin@gmail.com>
LicenseBSD3
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Stabilityexperimental
Safe HaskellSafe-Inferred
LanguageHaskell2010

Simulation.Aivika.Experiment.Base.WebPageRenderer

Description

Tested with: GHC 8.0.1

It defines a renderer that creates a web page when running the simulation experiment.

Synopsis

Documentation

data WebPageRenderer a Source #

It defines the web page renderer for simulation Experiment.

Constructors

WebPageRenderer a ExperimentFilePath

A renderer that depends on the provided parameter and a directory path, where the simulation results are saved in.

Instances

Instances details
ExperimentView ExperimentSpecsView (WebPageRenderer a) Source # 
Instance details

Defined in Simulation.Aivika.Experiment.Base.ExperimentSpecsView

ExperimentView FinalStatsView (WebPageRenderer a) Source # 
Instance details

Defined in Simulation.Aivika.Experiment.Base.FinalStatsView

ExperimentView FinalTableView (WebPageRenderer a) Source # 
Instance details

Defined in Simulation.Aivika.Experiment.Base.FinalTableView

ExperimentView InfoView (WebPageRenderer a) Source # 
Instance details

Defined in Simulation.Aivika.Experiment.Base.InfoView

ExperimentView LastValueView (WebPageRenderer a) Source # 
Instance details

Defined in Simulation.Aivika.Experiment.Base.LastValueView

ExperimentView TableView (WebPageRenderer a) Source # 
Instance details

Defined in Simulation.Aivika.Experiment.Base.TableView

ExperimentView TimingStatsView (WebPageRenderer a) Source # 
Instance details

Defined in Simulation.Aivika.Experiment.Base.TimingStatsView

ExperimentRendering (WebPageRenderer a) Source #

Rendering a web page with results when running the simulation experiment.

Instance details

Defined in Simulation.Aivika.Experiment.Base.WebPageRenderer

newtype ExperimentContext (WebPageRenderer a) Source # 
Instance details

Defined in Simulation.Aivika.Experiment.Base.WebPageRenderer

type ExperimentEnvironment (WebPageRenderer a) Source # 
Instance details

Defined in Simulation.Aivika.Experiment.Base.WebPageRenderer

type ExperimentMonad (WebPageRenderer a) Source # 
Instance details

Defined in Simulation.Aivika.Experiment.Base.WebPageRenderer

data WebPageWriter Source #

It replies to the requests made by the web page renderer.

Constructors

WebPageWriter 

Fields

  • reporterWriteTOCHtml :: Int -> HtmlWriter ()

    Return a TOC (Table of Contents) item for the HTML index file after the finalisation function is called, i.e. in the very end. The agument specifies the ordered number of the item.

    You should wrap your HTML in writeHtmlListItem.

  • reporterWriteHtml :: Int -> HtmlWriter ()

    Return an HTML code for the index file after the finalisation function is called, i.e. in the very end. The agument specifies the ordered number of the item.

type WebPageGenerator a = ExperimentGenerator (WebPageRenderer a) Source #

A convenient type synonym for describing a web page generator.