|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.neural.networks.synapse.neat.NEATNeuron
public class NEATNeuron
Implements a NEAT neuron. Neat neurons are of a specific type, defined by the NEATNeuronType enum. Usually NEAT uses a sigmoid activation function. The activation response is used to allow the slope of the sigmoid to be evolved. 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/
| Constructor Summary | |
|---|---|
NEATNeuron()
Default constructor, used for persistance. |
|
NEATNeuron(NEATNeuronType neuronType,
long neuronID,
double splitY,
double splitX,
double activationResponse)
Construct a NEAT neuron. |
|
| Method Summary | |
|---|---|
double |
getActivationResponse()
|
List<NEATLink> |
getInboundLinks()
|
long |
getNeuronID()
|
NEATNeuronType |
getNeuronType()
|
double |
getOutput()
|
List<NEATLink> |
getOutputboundLinks()
|
int |
getPosX()
|
int |
getPosY()
|
double |
getSplitX()
|
double |
getSplitY()
|
double |
getSumActivation()
|
void |
setOutput(double output)
Set the output. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NEATNeuron()
public NEATNeuron(NEATNeuronType neuronType,
long neuronID,
double splitY,
double splitX,
double activationResponse)
neuronType - The type of neuron.neuronID - The id of the neuron.splitY - The split for y.splitX - THe split for x.activationResponse - The activation response.| Method Detail |
|---|
public double getActivationResponse()
public List<NEATLink> getInboundLinks()
public long getNeuronID()
public NEATNeuronType getNeuronType()
public double getOutput()
public List<NEATLink> getOutputboundLinks()
public int getPosX()
public int getPosY()
public double getSplitX()
public double getSplitY()
public double getSumActivation()
public void setOutput(double output)
output - The output of the neuron.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||