A - the Allele type
of this gene.public interface Gene<A,G extends Gene<A,G>> extends Factory<G>, Serializable, ValueType, Verifiable
| Modifier and Type | Method and Description |
|---|---|
A |
getAllele()
Return the allele of this gene.
|
G |
newInstance()
Return a new, random gene of the same type than this gene.
|
isValidG newInstance()
gene.getClass() ==
gene.newInstance().getClass().© 2007-2013 Franz Wilhelmstötter (2013-12-18 20:17)