simbad.picoevo.ext.representation
Class Element_NEAT_Gene

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
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable, InitialisationInterface
Direct Known Subclasses:
Element_NEAT_LGene, Element_NEAT_NGene

public abstract class Element_NEAT_Gene
extends Element
implements java.lang.Comparable, java.lang.Cloneable, java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  boolean enabled
           
protected  int innovationID
           
protected  boolean 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_Gene()
           
Element_NEAT_Gene(Individual owner, java.util.ArrayList levelOperatorList)
           
Element_NEAT_Gene(Individual owner, java.util.ArrayList levelOperatorList, int _innovationID, boolean _recurrent)
           
Element_NEAT_Gene(Individual owner, VariationOperator levelOperator)
           
Element_NEAT_Gene(Individual owner, VariationOperator levelOperator, int _innovationID, boolean _recurrent)
           
Element_NEAT_Gene(java.lang.String __name, Individual owner, java.util.ArrayList levelOperatorList, int _innovationID, boolean _recurrent)
           
Element_NEAT_Gene(java.lang.String __name, Individual owner, VariationOperator levelOperator)
           
Element_NEAT_Gene(java.lang.String __name, Individual owner, VariationOperator levelOperator, int _innovationID, boolean _recurrent)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(Element_NEAT_Gene _o)
           
 void disable()
           
 void displayInformation()
           
 void enable()
           
 int getInnovationID()
           
 boolean getRecurrent()
           
 boolean isEnabled()
           
 void performVariations()
          This method is called recursively from the entry point towards the smallest element (if any).
 void setInnovationID(int _i)
           
 void setRecurrent(boolean _b)
           
 java.lang.String toString()
           
 
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
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

innovationID

protected int innovationID

recurrent

protected boolean recurrent

enabled

protected boolean enabled
Constructor Detail

Element_NEAT_Gene

public Element_NEAT_Gene()

Element_NEAT_Gene

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

Element_NEAT_Gene

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

Element_NEAT_Gene

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

Element_NEAT_Gene

public Element_NEAT_Gene(Individual owner,
                         VariationOperator levelOperator)

Element_NEAT_Gene

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

Element_NEAT_Gene

public Element_NEAT_Gene(Individual owner,
                         VariationOperator levelOperator,
                         int _innovationID,
                         boolean _recurrent)

Element_NEAT_Gene

public Element_NEAT_Gene(Individual owner,
                         java.util.ArrayList levelOperatorList,
                         int _innovationID,
                         boolean _recurrent)
Method Detail

setInnovationID

public void setInnovationID(int _i)

getInnovationID

public int getInnovationID()

setRecurrent

public void setRecurrent(boolean _b)

getRecurrent

public boolean getRecurrent()

enable

public void enable()

disable

public void disable()

isEnabled

public boolean isEnabled()

performVariations

public void performVariations()
Description copied from class: EvolutionObject
This method is called recursively from the entry point towards the smallest element (if any). smaller elements are variated first.

Overrides:
performVariations in class Element

displayInformation

public void displayInformation()
Overrides:
displayInformation in class Element

toString

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

clone

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

compareTo

public int compareTo(Element_NEAT_Gene _o)