public class ProcessTreeConfigurationOptionGene
extends org.jgap.BaseGene
Constructor and Description |
---|
ProcessTreeConfigurationOptionGene(org.jgap.Configuration JGAPConfiguration,
java.util.List<java.lang.Byte> options) |
Modifier and Type | Method and Description |
---|---|
void |
applyMutation(int index,
double percentage) |
void |
cleanup() |
int |
compareTo(java.lang.Object o) |
boolean |
equals(java.lang.Object gene) |
java.lang.Object |
getAllele() |
protected java.lang.Object |
getInternalValue() |
java.lang.String |
getPersistentRepresentation() |
int |
hashCode() |
protected org.jgap.Gene |
newGeneInternal() |
void |
setAllele(java.lang.Object value) |
void |
setToRandomValue(org.jgap.RandomGenerator generator) |
void |
setValueFromPersistentRepresentation(java.lang.String arg0) |
compareApplicationData, decode, encode, getApplicationData, getBusinessKey, getConfiguration, getConstraintChecker, getEnergy, getUniqueID, getUniqueIDTemplate, isCompareApplicationData, newGene, setApplicationData, setCompareApplicationData, setConstraintChecker, setEnergy, setUniqueIDTemplate, size, toString
public ProcessTreeConfigurationOptionGene(org.jgap.Configuration JGAPConfiguration, java.util.List<java.lang.Byte> options) throws org.jgap.InvalidConfigurationException
org.jgap.InvalidConfigurationException
public int compareTo(java.lang.Object o)
public boolean equals(java.lang.Object gene)
equals
in class org.jgap.BaseGene
public int hashCode()
hashCode
in class org.jgap.BaseGene
public void applyMutation(int index, double percentage)
public java.lang.String getPersistentRepresentation() throws java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationException
public void setAllele(java.lang.Object value)
public java.lang.Object getAllele()
getAllele
in interface org.jgap.Gene
getAllele
in class org.jgap.BaseGene
public void cleanup()
cleanup
in interface org.jgap.Gene
cleanup
in class org.jgap.BaseGene
public void setToRandomValue(org.jgap.RandomGenerator generator)
public void setValueFromPersistentRepresentation(java.lang.String arg0) throws java.lang.UnsupportedOperationException, org.jgap.UnsupportedRepresentationException
java.lang.UnsupportedOperationException
org.jgap.UnsupportedRepresentationException
protected java.lang.Object getInternalValue()
getInternalValue
in class org.jgap.BaseGene
protected org.jgap.Gene newGeneInternal()
newGeneInternal
in class org.jgap.BaseGene