simbad.picoevo.ext.representation
Class Element_NEAT_LGene

java.lang.Object
  extended by simbad.picoevo.core.representation.EvolutionObject
      extended by simbad.picoevo.core.representation.Element
          extended by simbad.picoevo.ext.representation.Element_NEAT_Gene
              extended by simbad.picoevo.ext.representation.Element_NEAT_LGene
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable, InitialisationInterface

public class Element_NEAT_LGene
extends Element_NEAT_Gene
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  int fromNeuron
           
protected  int toNeuron
           
protected  double weight
           
 
Fields inherited from class simbad.picoevo.ext.representation.Element_NEAT_Gene
enabled, innovationID, recurrent
 
Fields inherited from class simbad.picoevo.core.representation.Element
_individualOwner
 
Fields inherited from class simbad.picoevo.core.representation.EvolutionObject
_memoryModule, _name, _variationOperatorList
 
Constructor Summary
Element_NEAT_LGene()
           
Element_NEAT_LGene(Individual owner, java.util.ArrayList levelOperatorList)
           
Element_NEAT_LGene(Individual owner, java.util.ArrayList levelOperatorList, int _innovationid, boolean _recurrent)
           
Element_NEAT_LGene(Individual owner, java.util.ArrayList levelOperatorList, int _innovationid, boolean _recurrent, int _fromNeuron, int _toNeuron, double _weight)
           
Element_NEAT_LGene(Individual owner, VariationOperator levelOperator)
           
Element_NEAT_LGene(Individual owner, VariationOperator levelOperator, int _innovationid, boolean _recurrent)
           
Element_NEAT_LGene(Individual owner, VariationOperator levelOperator, int _innovationid, boolean _recurrent, int _fromNeuron, int _toNeuron, double _weight)
           
Element_NEAT_LGene(java.lang.String __name, Individual owner, java.util.ArrayList levelOperatorList, int _innovationid, boolean _recurrent)
           
Element_NEAT_LGene(java.lang.String __name, Individual owner, java.util.ArrayList levelOperatorList, int _innovationid, boolean _recurrent, int _fromNeuron, int _toNeuron, double _weight)
           
Element_NEAT_LGene(java.lang.String __name, Individual owner, VariationOperator levelOperator)
           
Element_NEAT_LGene(java.lang.String __name, Individual owner, VariationOperator levelOperator, int _innovationid, boolean _recurrent)
           
Element_NEAT_LGene(java.lang.String __name, Individual owner, VariationOperator levelOperator, int _innovationid, boolean _recurrent, int _fromNeuron, int _toNeuron, double _weight)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(java.lang.Object o)
           
 void displayInformation()
           
 int getFromNeuron()
           
 double getLinkWeight()
           
 int getToNeuron()
           
 void setFromNeuron(int n)
           
 void setLinkWeight(double w)
           
 void setToNeuron(int n)
           
 java.lang.String toString()
           
 
Methods inherited from class simbad.picoevo.ext.representation.Element_NEAT_Gene
compareTo, disable, enable, getInnovationID, getRecurrent, isEnabled, performVariations, setInnovationID, setRecurrent
 
Methods inherited from class simbad.picoevo.core.representation.Element
getOwner, getTemplate, performInitialisation, setOwner, trace
 
Methods inherited from class simbad.picoevo.core.representation.EvolutionObject
addOperator, addOperatorList, getDisplayInformation, getName, getVariationOperator, getVariationOperatorList, getVariationOperatorListSize, performLevelVariations, setName
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fromNeuron

protected int fromNeuron

toNeuron

protected int toNeuron

weight

protected double weight
Constructor Detail

Element_NEAT_LGene

public Element_NEAT_LGene()

Element_NEAT_LGene

public Element_NEAT_LGene(java.lang.String __name,
                          Individual owner,
                          VariationOperator levelOperator)

Element_NEAT_LGene

public Element_NEAT_LGene(java.lang.String __name,
                          Individual owner,
                          VariationOperator levelOperator,
                          int _innovationid,
                          boolean _recurrent)

Element_NEAT_LGene

public Element_NEAT_LGene(java.lang.String __name,
                          Individual owner,
                          java.util.ArrayList levelOperatorList,
                          int _innovationid,
                          boolean _recurrent)

Element_NEAT_LGene

public Element_NEAT_LGene(java.lang.String __name,
                          Individual owner,
                          VariationOperator levelOperator,
                          int _innovationid,
                          boolean _recurrent,
                          int _fromNeuron,
                          int _toNeuron,
                          double _weight)

Element_NEAT_LGene

public Element_NEAT_LGene(java.lang.String __name,
                          Individual owner,
                          java.util.ArrayList levelOperatorList,
                          int _innovationid,
                          boolean _recurrent,
                          int _fromNeuron,
                          int _toNeuron,
                          double _weight)

Element_NEAT_LGene

public Element_NEAT_LGene(Individual owner,
                          VariationOperator levelOperator)

Element_NEAT_LGene

public Element_NEAT_LGene(Individual owner,
                          java.util.ArrayList levelOperatorList)

Element_NEAT_LGene

public Element_NEAT_LGene(Individual owner,
                          VariationOperator levelOperator,
                          int _innovationid,
                          boolean _recurrent)

Element_NEAT_LGene

public Element_NEAT_LGene(Individual owner,
                          java.util.ArrayList levelOperatorList,
                          int _innovationid,
                          boolean _recurrent)

Element_NEAT_LGene

public Element_NEAT_LGene(Individual owner,
                          VariationOperator levelOperator,
                          int _innovationid,
                          boolean _recurrent,
                          int _fromNeuron,
                          int _toNeuron,
                          double _weight)

Element_NEAT_LGene

public Element_NEAT_LGene(Individual owner,
                          java.util.ArrayList levelOperatorList,
                          int _innovationid,
                          boolean _recurrent,
                          int _fromNeuron,
                          int _toNeuron,
                          double _weight)
Method Detail

getFromNeuron

public int getFromNeuron()

setFromNeuron

public void setFromNeuron(int n)

getToNeuron

public int getToNeuron()

setToNeuron

public void setToNeuron(int n)

getLinkWeight

public double getLinkWeight()

setLinkWeight

public void setLinkWeight(double w)

displayInformation

public void displayInformation()
Overrides:
displayInformation in class Element_NEAT_Gene

toString

public java.lang.String toString()
Overrides:
toString in class Element_NEAT_Gene

clone

public java.lang.Object clone()
Overrides:
clone in class Element_NEAT_Gene

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable