Transformers for the Aivika simulation library

Latest on Hackage:5.8

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow to host generated Haddocks.

BSD3 licensed by David Sorokin
Maintained by David Sorokin

This package is a generalization of the aivika [1] simulation library with extensive use of monad transformers and type families. It can be applied for nested simulation [2] and parallel distributed simulation [3].

Unlike sequential simulation, the distributed simulation is more difficult for implementing the simulation experiments by the Monte-Carlo method. Therefore, there are additional packages that allow saving the results of distributed simulation in SQL databases and only then the simulation reports are generated. These reports are HTML pages with charts, histograms, links to CSV tables, statistics summary and so on.

This method can be used not only for the parallel distributed simulation, but also for other simulation models created with help of the generalized version of the Aivika simulation library. Please consult the AivikaSoft [4] website for more details.






Version 5.8

  • Satisfying a new requirement of the MonadMask class type.

Version 5.7

  • Implemented MonadMask and MonadCatch for basic simulation computations.

Version 5.6

  • Lars Kuhtz added the support of GHC 8.4.

Version 5.5

  • Added the 4th order Runge-Kutta 3/8-method.

  • Added experimental functions delayByDT and delayIByDT.

Version 5.4

  • A more correct treating of the stop time. Earlier, the final integration time point was used instead of the stop time in some functions.

Version 5.3.1

  • Increased the speed of simulation.

Version 5.3

  • Introduced the result source titles, which can be useful when plotting the charts.

  • Added functions newSignalInTimeGrid and timeGrid.

Version 5.2

  • Using the mwc-random package for generating random numbers by default.

Version 5.1

  • Includes changes destined for Aivika Exension Pack.

  • Minor changes in the resource preemption statistics.

  • Added the statistics reset.

Version 5.0

  • Added the Composite monad transformer.

  • Added the Channel computation.

  • Breaking change: modified signatures of functions signalStream and streamSignal.

  • Breaking change: the signalProcessor function is replaced with channelProcessor.

  • Breaking change: the processorSignaling function is replaced with processorChannel.

  • Added module Signal.Random.

  • Added functions arrivalTimerSignal and arrivalTimerChannel.

  • Added functions queuedSignalStream, queuedProcessorChannel and queuedChannelProcessor.

Version 4.6

  • Removed the MonadTemplate type class as it often caused overlapping family data instances.

  • Updated module DoubleLinkedList.

  • Breaking change: arrows Net and Processor are trying to perform computations in parallel as possible, when using the proc notation. Earlier they executed sequentially.

comments powered byDisqus