|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.ml.genetic.genes.BasicGene
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/
| Field Summary | |
|---|---|
static String |
PROPERTY_ACT_RESPONSE
|
static String |
PROPERTY_SPLIT_X
|
static String |
PROPERTY_SPLIT_Y
|
| Constructor Summary | |
|---|---|
NEATNeuronGene()
The default constructor. |
|
NEATNeuronGene(NEATNeuronType type,
long id,
double splitY,
double splitX)
Construct a gene. |
|
NEATNeuronGene(NEATNeuronType type,
long id,
double splitY,
double splitX,
double act)
Construct a neuron gene. |
|
| Method Summary | |
|---|---|
void |
copy(Gene gene)
Copy another gene to this one. |
double |
getActivationResponse()
|
NEATNeuronType |
getNeuronType()
|
double |
getSplitX()
|
double |
getSplitY()
|
void |
setActivationResponse(double activationResponse)
Set the activation response. |
void |
setNeuronType(NEATNeuronType neuronType)
Set the neuron type. |
void |
setSplitX(double splitX)
Set the split x. |
void |
setSplitY(double splitY)
Set the split y. |
String |
toString()
|
| Methods inherited from class org.encog.ml.genetic.genes.BasicGene |
|---|
compareTo, getId, getInnovationId, isEnabled, setEnabled, setId, setInnovationId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String PROPERTY_ACT_RESPONSE
public static final String PROPERTY_SPLIT_X
public static final String PROPERTY_SPLIT_Y
| Constructor Detail |
|---|
public NEATNeuronGene()
public NEATNeuronGene(NEATNeuronType type,
long id,
double splitY,
double splitX)
type - The type of neuron.id - The id of this gene.splitY - The split y.splitX - The split x.
public NEATNeuronGene(NEATNeuronType type,
long id,
double splitY,
double splitX,
double act)
type - The type of neuron.id - The id of this gene.splitY - The split y.splitX - The split x.act - The activation response.| Method Detail |
|---|
public void copy(Gene gene)
copy in interface Genegene - The other gene.public double getActivationResponse()
public NEATNeuronType getNeuronType()
public double getSplitX()
public double getSplitY()
public void setActivationResponse(double activationResponse)
activationResponse - The activation response.public void setNeuronType(NEATNeuronType neuronType)
neuronType - The neuron type.public void setSplitX(double splitX)
splitX - The split x.public void setSplitY(double splitY)
splitY - The split y.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||