|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jenes.chromosome.GenericAlleleSet<java.lang.Double> jenes.tutorials.problem5.DoubleAlleleSet
public class DoubleAlleleSet
Constructor Summary | |
---|---|
DoubleAlleleSet(java.util.Set<java.lang.Double> set)
|
Method Summary | |
---|---|
static DoubleAlleleSet |
createRandom(int size,
double lowerBound,
double upperBound)
Builds a DoubleAlleleSet with random values within the range [lowerBound,upperBound] |
static DoubleAlleleSet |
createUniform(int size,
int lowerBound,
int upperBound)
Builds a new DoubleAlleleSet 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 DoubleAlleleSet(java.util.Set<java.lang.Double> set)
Method Detail |
---|
public static DoubleAlleleSet createRandom(int size, double lowerBound, double upperBound)
size
- the allala set cardinalitylowerBound
- the min value to chooseupperBound
- the max value to choose
public static DoubleAlleleSet 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 |