Module prelude

Source

Structs§

Brain
The brain is the main struct of this library. It contains the hashmap that represents the markov chain, and the configuration.
BrainConfig
This struct let you configure a Brain.
BrainStats
This struct let you compute some statistics of a Brain.

Enums§

Error
The main Error enum for this library. It’s only wrapping Io Errors for now, but it might be useful later to have a dedicated error enum.

Type Aliases§

Result
The main Result type for this library.