|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.neural.neat.training.NEATBaseGene
org.encog.neural.neat.training.NEATNeuronGene
public class NEATNeuronGene
Implements a NEAT neuron gene. NeuroEvolution of Augmenting Topologies (NEAT) is a genetic algorithm for the generation of evolving artificial neural networks. It was developed by Ken Stanley while at The University of Texas at Austin. ----------------------------------------------------------------------------- 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
Constructor Summary | |
---|---|
NEATNeuronGene()
The default constructor. |
|
NEATNeuronGene(NEATNeuronGene other)
Construct this gene by comping another. |
|
NEATNeuronGene(NEATNeuronType type,
ActivationFunction theActivationFunction,
long id,
long innovationID)
Construct a neuron gene. |
Method Summary | |
---|---|
void |
copy(NEATNeuronGene gene)
Copy another gene to this one. |
ActivationFunction |
getActivationFunction()
|
NEATNeuronType |
getNeuronType()
|
void |
setActivationFunction(ActivationFunction activationFunction)
|
void |
setNeuronType(NEATNeuronType neuronType)
Set the neuron type. |
String |
toString()
|
Methods inherited from class org.encog.neural.neat.training.NEATBaseGene |
---|
compareTo, getId, getInnovationId, setId, setInnovationId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NEATNeuronGene()
public NEATNeuronGene(NEATNeuronType type, ActivationFunction theActivationFunction, long id, long innovationID)
type
- The neuron type.theActivationFunction
- The activation function.id
- The neuron id.innovationID
- The innovation id.public NEATNeuronGene(NEATNeuronGene other)
other
- The other gene to copy.Method Detail |
---|
public void copy(NEATNeuronGene gene)
gene
- The other gene.public NEATNeuronType getNeuronType()
public void setNeuronType(NEATNeuronType neuronType)
neuronType
- The neuron type.public ActivationFunction getActivationFunction()
public void setActivationFunction(ActivationFunction activationFunction)
activationFunction
- the activationFunction to setpublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |