public interface BoundedGene<A extends Comparable<? super A>,G extends BoundedGene<A,G>> extends Gene<A,G>, Comparable<G>
Modifier and Type | Method and Description |
---|---|
A |
getMax()
Return the allowed max value.
|
A |
getMin()
Return the allowed min value.
|
G |
newInstance(A value)
Create a new gene from the given
value and the current bounds. |
copy, getAllele, newInstance
isValid
compareTo
G newInstance(A value)
value
and the current bounds.value
- the value of the new gene.© 2007-2014 Franz Wilhelmstötter (2014-03-07 19:35)