org.encog.neural.neat.training.opp.links
public class SelectFixed extends Object implements SelectLinks
| Constructor and Description |
|---|
SelectFixed(int theLinkCount)
Construct a fixed count link selector.
|
| Modifier and Type | Method and Description |
|---|---|
EvolutionaryAlgorithm |
getTrainer() |
void |
init(EvolutionaryAlgorithm theTrainer)
Setup the selector.
|
List<NEATLinkGene> |
selectLinks(Random rnd,
NEATGenome genome)
Select links from the specified genome.
|
String |
toString() |
public SelectFixed(int theLinkCount)
theLinkCount - The number of links to select.public EvolutionaryAlgorithm getTrainer()
getTrainer in interface SelectLinkspublic void init(EvolutionaryAlgorithm theTrainer)
init in interface SelectLinkstheTrainer - The trainer.public List<NEATLinkGene> selectLinks(Random rnd, NEATGenome genome)
selectLinks in interface SelectLinksrnd - A random number generator.genome - The genome to select from.Copyright © 2014. All Rights Reserved.