isberg/elm-ann/1.3.0

NOTE: the latest version is 1.6.2

Genome

Module for doing operations on Artificial Neural Network Genomes.

type Genome

Genome represents an ANN genotype

create : Int -> Int -> Genome

Create Genome with specified number of inputs, outputs, a bias node and no hidden nodes or connections

addConnection : Int -> Int -> Float -> Genome -> Genome

Add connection between existing nodes

addNode : Int -> Int -> Genome -> Genome

Add node by replacing existing connection with a node and two connections.

toString : Genome -> String

convert to string representation

create network from genome