markov-realization-0.3.2: Realizations of Markov chains.

Maintaineratloomis@math.arizona.edu
StabilityExperimental
Safe HaskellSafe
LanguageHaskell2010

Markov.Generic

Description

An implementation of Markov chains allowing non-list containers.

Synopsis

Documentation

class (Applicative t, Comonad t, Monad c) => Markov c t s where Source #

An implementation of Markov chains with non-list containers.

Markov.Markov t s = Markov.Generic.Markov [] t s

Minimal complete definition

transition | step | sequential

Methods

transition :: s -> c (t (s -> s)) Source #

step :: t s -> c (t s) Source #

sequential :: [s -> c (t (s -> s))] Source #

Instances
Markov [] ((,) (Product Double)) Urn Source # 
Instance details

Defined in Markov.Example