|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- class of elements held by AlleleSetpublic interface AlleleSet<T>
An AlleleSet represents an alphabet of object gene allele values. Each ObjectChromosome.Gene
of an
ObjectChromosome
has an allele set containing all the object values it can assume.
A custom set of values can be determined by implementing this interface.
ObjectChromosome
Method Summary | |
---|---|
T |
getElementAt(int pos)
Gets the allele value at the specified position |
T |
getRandomValue()
Gets a random allele value within this alphabet. |
int |
size()
Returns the alphabet size |
Method Detail |
---|
T getElementAt(int pos)
pos
- the index of the desidered allele value
T getRandomValue()
int size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |