|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.ml.genetic.innovation.BasicInnovation
org.encog.neural.neat.training.NEATInnovation
public class NEATInnovation
Implements a NEAT innovation. This lets NEAT track what changes it has previously tried with a neural network. 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 | |
|---|---|
NEATInnovation()
Default constructor, used mainly for persistence. |
|
NEATInnovation(long fromNeuronID,
long toNeuronID,
NEATInnovationType innovationType,
long innovationID)
Construct an innovation. |
|
NEATInnovation(long fromNeuronID,
long toNeuronID,
NEATInnovationType innovationType,
long innovationID,
NEATNeuronType neuronType,
double x,
double y)
Construct an innovation. |
|
NEATInnovation(NEATNeuronGene neuronGene,
long innovationID,
long neuronID)
Construct an innovation. |
|
| Method Summary | |
|---|---|
long |
getFromNeuronID()
|
NEATInnovationType |
getInnovationType()
|
long |
getNeuronID()
|
NEATNeuronType |
getNeuronType()
|
double |
getSplitX()
|
double |
getSplitY()
|
long |
getToNeuronID()
|
void |
setFromNeuronID(long fromNeuronID)
|
void |
setInnovationType(NEATInnovationType t)
|
void |
setNeuronID(long neuronID)
Set the neuron id. |
void |
setNeuronType(NEATNeuronType t)
|
void |
setSplitX(double d)
|
void |
setSplitY(double d)
|
void |
setToNeuronID(long toNeuronID)
|
String |
toString()
|
| Methods inherited from class org.encog.ml.genetic.innovation.BasicInnovation |
|---|
getInnovationID, setInnovationID |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NEATInnovation()
public NEATInnovation(long fromNeuronID,
long toNeuronID,
NEATInnovationType innovationType,
long innovationID)
fromNeuronID - The from neuron.toNeuronID - The two neuron.innovationType - The innovation type.innovationID - The innovation id.
public NEATInnovation(long fromNeuronID,
long toNeuronID,
NEATInnovationType innovationType,
long innovationID,
NEATNeuronType neuronType,
double x,
double y)
fromNeuronID - The from neuron.toNeuronID - The to neuron.innovationType - The innovation type.innovationID - The innovation id.neuronType - The neuron type.x - The x coordinate.y - THe y coordinate.
public NEATInnovation(NEATNeuronGene neuronGene,
long innovationID,
long neuronID)
neuronGene - The neuron gene.innovationID - The innovation id.neuronID - The neuron id.| Method Detail |
|---|
public long getFromNeuronID()
public NEATInnovationType getInnovationType()
public long getNeuronID()
public NEATNeuronType getNeuronType()
public double getSplitX()
public double getSplitY()
public long getToNeuronID()
public void setNeuronID(long neuronID)
neuronID - The neuron id.public String toString()
toString in class Objectpublic void setInnovationType(NEATInnovationType t)
public void setNeuronType(NEATNeuronType t)
public void setSplitX(double d)
public void setSplitY(double d)
public void setFromNeuronID(long fromNeuronID)
fromNeuronID - the fromNeuronID to setpublic void setToNeuronID(long toNeuronID)
toNeuronID - the toNeuronID to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||