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

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

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

 Source # Methods Source # Methods Source # Methods Source # Methods Source # Methods Source # Methods Source # Methods Source # Rendering a web page with results when running the simulation experiment. Associated Typesdata ExperimentContext (WebPageRenderer a) :: * Source #type ExperimentMonad (WebPageRenderer a) :: * -> * Source # Methods Source # Source # Source #

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

Constructors

 WebPageWriter FieldsreporterWriteTOCHtml :: 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.

A convenient type synonym for describing a web page generator.