Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrMissingActivations = errors.New("activation mutator requires list of possible activation functions")
)
Known errors
Functions ¶
This section is empty.
Types ¶
type Activation ¶
type Activation struct { ReplaceActivationProbability float64 Activations []evo.Activation }
Activation is a helper that mutates the activation value of nodes
type Bias ¶
type Bias struct { MutateBiasProbability float64 ReplaceBiasProbability float64 BiasPower float64 MaxBias float64 }
Bias is a helper that mutates the bias value of nodes
type Complexify ¶
type Complexify struct { AddNodeProbability float64 AddConnProbability float64 WeightPower float64 MaxWeight float64 BiasPower float64 MaxBias float64 HiddenActivation evo.Activation DisableSortCheck bool }
Complexify mutates a genome by adding to its structure
type Weight ¶
type Weight struct { MutateWeightProbability float64 // The probability that the connection's weight will be mutated ReplaceWeightProbability float64 // The probability that, if being mutated, the weight will be replaced WeightPower float64 MaxWeight float64 }
Weight mutates the genome's connection weights
Click to show internal directories.
Click to hide internal directories.