aivika-0.3: A multi-paradigm simulation library

Stabilityexperimental
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Safe HaskellSafe-Infered

Simulation.Aivika.Dynamics

Description

Tested with: GHC 7.0.3

The module defines the Dynamics monad representing an abstract dynamic process, i.e. a time varying polymorphic function.

Synopsis

Documentation

data Dynamics a Source

A value in the Dynamics monad represents a dynamic process, i.e. a polymorphic time varying function.

class Monad m => DynamicsLift m whereSource

A type class to lift the Dynamics computations in other monads.

Methods

liftDynamics :: Dynamics a -> m aSource

Lift the specified Dynamics computation in another monad.

runDynamicsInStart :: Dynamics a -> Simulation aSource

Run the dynamic process in the initial simulation point.

runDynamicsInFinal :: Dynamics a -> Simulation aSource

Run the dynamic process in the final simulation point.

runDynamics :: Dynamics a -> Simulation [IO a]Source

Run the dynamic process in all integration time points