com.anji.neat
Class NeuronGene

java.lang.Object
  extended byorg.jgap.Gene
      extended bycom.anji.neat.NeuronGene
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class NeuronGene
extends Gene

Gene corresponding to NEAT node gene according to Evolving Neural Networks through Augmenting Topologies

Author:
Philip Tucker
See Also:
Serialized Form

Constructor Summary
NeuronGene(NeuronType newType, java.lang.Long newInnovationId, ActivationFunctionType anActivationType)
          Construct new NeuronGene with given type and ID.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class org.jgap.Gene
compareTo, equals, getInnovationId, hashCode, setInnovationId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NeuronGene

public NeuronGene(NeuronType newType,
                  java.lang.Long newInnovationId,
                  ActivationFunctionType anActivationType)
Construct new NeuronGene with given type and ID. Protected since this should only be constructed via factory methods in NeuronGene and NeatChromosomeUtility, and persistence objects.

Parameters:
newType -
newInnovationId -
anActivationType -
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class Gene
See Also:
Object.toString()