public class DoubleGene extends NumericGene
Constructor and Description |
---|
DoubleGene(Genome genome,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
addToGene(double summand) |
void |
copy(Gene destinationGene) |
void |
geneManipulated(GeneManipulationEvent gbme) |
boolean |
genomicallyEquals(Gene gene) |
double |
getValue() |
void |
setValue(double newValue) |
java.lang.String |
toString() |
isShowPositiveSign, setShowPositiveSign
addPropertyChangeListener, getDoubleGooseSize, getGenome, getGooseSize, getName, kill, readIndexedValueFromByteBuffer, readValueFromByteBuffer, removePropertyChangeListener, setGenome, setName, writeIndexedValueToByteBuffer, writeValueToByteBuffer
public DoubleGene(Genome genome, java.lang.String name)
public void addToGene(double summand)
public double getValue()
public void setValue(double newValue)
public void geneManipulated(GeneManipulationEvent gbme)
public java.lang.String toString()
toString
in class java.lang.Object
public void copy(Gene destinationGene)
copy
in interface Gene
copy
in class NumericGene
public boolean genomicallyEquals(Gene gene)