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 |
---|---|
Object |
copy()
Deprecated.
This method is introduced by the
ValueType
of the Javolution library, which will be removed in
the next major version. |
A |
getAllele()
Return the allele of this gene.
|
G |
newInstance()
Return a new, random gene of the same type than this gene.
|
isValid
G newInstance()
gene.getClass() ==
gene.newInstance().getClass()
.© 2007-2014 Franz Wilhelmstötter (2014-03-07 19:35)