org.encog.neural.neat.training.opp.links
Class SelectProportion
- java.lang.Object
-
- org.encog.neural.neat.training.opp.links.SelectProportion
-
- All Implemented Interfaces:
- java.io.Serializable, SelectLinks
public class SelectProportion extends java.lang.Object implements SelectLinks, java.io.Serializable
Select a random proportion of links to mutate. ----------------------------------------------------------------------------- http://www.cs.ucf.edu/~kstanley/ Encog's NEAT implementation was drawn from the following three Journal Articles. For more complete BibTeX sources, see NEATNetwork.java. Evolving Neural Networks Through Augmenting Topologies Generating Large-Scale Neural Networks Through Discovering Geometric Regularities Automatic feature selection in neuroevolution- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description SelectProportion(double theProportion)Select based on proportion.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description EvolutionaryAlgorithmgetTrainer()voidinit(EvolutionaryAlgorithm theTrainer)Setup the selector.java.util.List<NEATLinkGene>selectLinks(java.util.Random rnd, NEATGenome genome)Select links from the specified genome.java.lang.StringtoString()
-
-
-
Constructor Detail
-
SelectProportion
public SelectProportion(double theProportion)
Select based on proportion.- Parameters:
theProportion- The proportion to select from.
-
-
Method Detail
-
init
public void init(EvolutionaryAlgorithm theTrainer)
Setup the selector.- Specified by:
initin interfaceSelectLinks- Parameters:
theTrainer- The trainer.
-
selectLinks
public java.util.List<NEATLinkGene> selectLinks(java.util.Random rnd, NEATGenome genome)
Select links from the specified genome.- Specified by:
selectLinksin interfaceSelectLinks- Parameters:
rnd- A random number generator.genome- The genome to select from.- Returns:
- A List of link genomes.
-
getTrainer
public EvolutionaryAlgorithm getTrainer()
- Specified by:
getTrainerin interfaceSelectLinks- Returns:
- The trainer being used.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DMelt 3.0 © DataMelt by jWork.ORG