neet-0.2.0.0: A NEAT library for Haskell

Copyright(c) Leon Medvinsky, 2015
LicenseGPL-3
Maintainerlmedvinsky@hotmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Neet.Parameters

Description

 

Synopsis

Documentation

data Parameters Source

The genetic parameters

Constructors

Parameters 

Fields

mutParams :: MutParams
 
mutParamsS :: MutParams

Mutation parameters for small populations

largeSize :: Int

The minimum size for a species to be considered large

distParams :: DistParams

Parameters for the distance function

dropTime :: Maybe Int

Drop a species if it doesn't improve for this long, and it hasn't hosted the most successful genome.

Instances

data DistParams Source

Distance Parameters

Constructors

DistParams 

Fields

dp1 :: Double

Coefficient to the number of excess genes

dp2 :: Double

Coefficient to the number of disjoint genes

dp3 :: Double

Coefficient to the average weight differences

delta_t :: Double

How close counts as the same species

Instances

data MutParams Source

Mutation Parameters

Constructors

MutParams 

Fields

mutWeightRate :: Double

How often weights are mutated

newWeightRate :: Double

How often weights are replaced if mutated

pertAmount :: Double

Max amount of perturbation

weightRange :: Double

A new max is between negative this and positive this

addConnRate :: Double

How often new connections are made

addNodeRate :: Double

How often new nodes are added

recurrencies :: Bool

Whether to allow recurrent connections

noCrossover :: Double

Percent of population that mutates without crossover

disableChance :: Double

How likely that a disabled parent results in a disabled child

Instances

defParams :: Parameters Source

The parameters used in the original NEAT paper, except the perturbation amount and threshold for size.

defDistParams :: DistParams Source

Parameters used for distance in the paper

defMutParams :: MutParams Source

Mutation parameters for defParams