simbad.picoevo.ext.representation
Class Element_NEAT_Gene
java.lang.Object
simbad.picoevo.core.representation.EvolutionObject
simbad.picoevo.core.representation.Element
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
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)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
compareTo |
innovationID
protected int innovationID
recurrent
protected boolean recurrent
enabled
protected boolean enabled
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)
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)