org.encog.neural.neat.training
Class NEATBaseGene
- java.lang.Object
-
- org.encog.neural.neat.training.NEATBaseGene
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<NEATBaseGene>
- Direct Known Subclasses:
- NEATLinkGene, NEATNeuronGene
public class NEATBaseGene extends java.lang.Object implements java.lang.Comparable<NEATBaseGene>, java.io.Serializable
Defines a base class for NEAT genes. A neat gene holds instructions on how to create either a neuron or a link. The NEATLinkGene and NEATLinkNeuron classes extend NEATBaseGene to provide this specific functionality. ----------------------------------------------------------------------------- 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 NEATBaseGene()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intcompareTo(NEATBaseGene o)longgetId()longgetInnovationId()voidsetId(long i)Set the id for this gene.voidsetInnovationId(long theInnovationID)Set the innovation id for this gene.
-
-
-
Method Detail
-
compareTo
public int compareTo(NEATBaseGene o)
- Specified by:
compareToin interfacejava.lang.Comparable<NEATBaseGene>
-
getId
public long getId()
- Returns:
- The id of this gene.
-
getInnovationId
public long getInnovationId()
- Returns:
- The innovation id of this gene.
-
setId
public void setId(long i)
Set the id for this gene.- Parameters:
i- The id for this gene.
-
setInnovationId
public void setInnovationId(long theInnovationID)
Set the innovation id for this gene.- Parameters:
theInnovationID- The innovation id for this gene.
-
-
DMelt 3.0 © DataMelt by jWork.ORG