Acausal makes it easy to create and edit Markov Chains.
Features:
- For portability all classes are easily serializable and deserializable into data transfer objects.
- For immutability all classes include static functions which are pure and immutable.
- For ease of use all classes include impure, mutable methods which
import { MarkovChain, Distribution, Random } from 'acausal';
// example a
// example b
// example c
// examble d
// example f
// example g
Run:
npm install -s scalr
acausal is also implemented in Golang. You can find the module here:
For documentation of underlying functions, please see the docs.