|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjenes.chromosome.GenericAlleleSet<java.lang.Integer>
jenes.tutorials.problem5.IntegerAlleleSet
public class IntegerAlleleSet
Constructor Summary | |
---|---|
IntegerAlleleSet(java.util.Set<java.lang.Integer> set)
|
Method Summary | |
---|---|
static IntegerAlleleSet |
createRandom(int size,
int lowerBound,
int upperBound)
Builds an IntegerAlleleSet with random values within the range [lowerBound,upperBound] |
static IntegerAlleleSet |
createUniform(int size,
int lowerBound,
int upperBound)
Builds a new IntegerAlleleSet with uniformly distributed values within the range [lowerBound,upperBound] |
Methods inherited from class jenes.chromosome.GenericAlleleSet |
---|
getElementAt, getRandomValue, size |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntegerAlleleSet(java.util.Set<java.lang.Integer> set)
Method Detail |
---|
public static IntegerAlleleSet createRandom(int size, int lowerBound, int upperBound)
size
- the allala set cardinalitylowerBound
- the min value to chooseupperBound
- the max value to choose
public static IntegerAlleleSet createUniform(int size, int lowerBound, int upperBound)
size
- the allala set cardinalitylowerBound
- the min value to chooseupperBound
- the max value to choose
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |