public class Double0To1Gene extends DoubleGene
Constructor and Description |
---|
Double0To1Gene(Genome genome,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
addToGene(double summand)
Value is not allowed to be less than zero or greater than 1.
|
copy, geneManipulated, genomicallyEquals, getValue, setValue, toString
isShowPositiveSign, setShowPositiveSign
addPropertyChangeListener, getDoubleGooseSize, getGenome, getGooseSize, getName, kill, readIndexedValueFromByteBuffer, readValueFromByteBuffer, removePropertyChangeListener, setGenome, setName, writeIndexedValueToByteBuffer, writeValueToByteBuffer
public Double0To1Gene(Genome genome, java.lang.String name)
public void addToGene(double summand)
addToGene
in class DoubleGene
summand
- the quantity to add.