org.encog.neural.neat.training.opp
public class NEATMutateRemoveLink extends NEATMutation
| Modifier and Type | Field and Description |
|---|---|
static int |
MIN_LINK
Do not remove from genomes that have fewer than this number of links.
|
| Constructor and Description |
|---|
NEATMutateRemoveLink() |
| Modifier and Type | Method and Description |
|---|---|
void |
performOperation(Random rnd,
Genome[] parents,
int parentIndex,
Genome[] offspring,
int offspringIndex)
Perform the evolutionary operation.
|
chooseRandomNeuron, createLink, getElementPos, getOwner, init, isDuplicateLink, isNeuronNeeded, obtainGenome, offspringProduced, parentsNeeded, removeNeuronpublic static final int MIN_LINK
public void performOperation(Random rnd, Genome[] parents, int parentIndex, Genome[] offspring, int offspringIndex)
rnd - A random number generator.parents - The parents.parentIndex - The index into the parents array.offspring - The offspring.offspringIndex - An index into the offspring array.Copyright © 2014. All Rights Reserved.