Property | Type | Description | |
---|---|---|---|
TWEAK_DISJOINT | double |
Method | Description | |
---|---|---|
AddLink ( double mutationRate, double chanceOfLooped, int numTrysToFindLoop, int numTrysToAddLink ) : void |
Mutate the genome by adding a link to this genome.
|
|
AddNeuron ( double mutationRate, int numTrysToFindOldLink ) : void |
Mutate the genome by adding a neuron.
|
|
AlreadyHaveThisNeuronID ( long id ) : bool |
Do we already have this neuron id?
|
|
Decode ( ) : void |
Convert the genes to an actual network.
|
|
Encode ( ) : void |
Convert the network to genes. Not currently supported.
|
|
GetCompatibilityScore ( |
Get the compatibility score with another genome. Used to determine species.
|
|
GetSplitY ( int nd ) : double |
Get the specified split y.
|
|
IsDuplicateLink ( long fromNeuronID, long toNeuronID ) : bool |
Determine if this is a duplicate link.
|
|
MutateActivationResponse ( double mutateRate, double maxPertubation ) : void |
Mutate the activation response.
|
|
MutateWeights ( double mutateRate, double probNewMutate, double maxPertubation ) : void |
Mutate the weights.
|
|
NEATGenome ( ) : System |
Default constructor.
|
|
NEATGenome ( |
Construct a genome by copying another.
|
|
NEATGenome ( Encog.Neural.Networks.Training.NEAT.NEATTraining training, long genomeID, |
Create a NEAT gnome.
|
|
NEATGenome ( Encog.Neural.Networks.Training.NEAT.NEATTraining training, long id, int inputCount, int outputCount ) : System |
Construct a genome, do not provide links and neurons.
|
|
SortGenes ( ) : void |
Sort the genes.
|
|
ToString ( ) : String |
This genome as a string.
|
Method | Description | |
---|---|---|
ChooseRandomNeuron ( bool includeInput ) : |
Choose a random neuron.
|
|
GetElementPos ( long neuronID ) : int |
Get the specified neuron's index.
|
public AddLink ( double mutationRate, double chanceOfLooped, int numTrysToFindLoop, int numTrysToAddLink ) : void | ||
mutationRate | double | The mutation rate. |
chanceOfLooped | double | The chance of a self-connected neuron. |
numTrysToFindLoop | int | The number of tries to find a loop. |
numTrysToAddLink | int | The number of tries to add a link. |
return | void |
public AddNeuron ( double mutationRate, int numTrysToFindOldLink ) : void | ||
mutationRate | double | The mutation rate. |
numTrysToFindOldLink | int | The number of tries to find a link to split. |
return | void |
public AlreadyHaveThisNeuronID ( long id ) : bool | ||
id | long | The id to check for. |
return | bool |
public GetCompatibilityScore ( |
||
genome | The other genome. | |
return | double |
public IsDuplicateLink ( long fromNeuronID, long toNeuronID ) : bool | ||
fromNeuronID | long | The from neuron id. |
toNeuronID | long | The to neuron id. |
return | bool |
public MutateActivationResponse ( double mutateRate, double maxPertubation ) : void | ||
mutateRate | double | The mutation rate. |
maxPertubation | double | The maximum to perturb it by. |
return | void |
public MutateWeights ( double mutateRate, double probNewMutate, double maxPertubation ) : void | ||
mutateRate | double | The mutation rate. |
probNewMutate | double | The probability of a whole new weight. |
maxPertubation | double | The max perturbation. |
return | void |
public NEATGenome ( |
||
other | The other genome. | |
return | System |
public NEATGenome ( Encog.Neural.Networks.Training.NEAT.NEATTraining training, long genomeID, |
||
training | Encog.Neural.Networks.Training.NEAT.NEATTraining | The owner object. |
genomeID | long | The genome id. |
neurons | The neurons. | |
links | The links. | |
inputCount | int | The input count. |
outputCount | int | The output count. |
return | System |
public NEATGenome ( Encog.Neural.Networks.Training.NEAT.NEATTraining training, long id, int inputCount, int outputCount ) : System | ||
training | Encog.Neural.Networks.Training.NEAT.NEATTraining | The owner object. |
id | long | The genome id. |
inputCount | int | The input count. |
outputCount | int | The output count. |
return | System |