|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.ksu.cis.kdd.ga.GAOp
Field Summary | |
protected int |
parameterSize
|
protected MersenneTwisterFast |
random
|
protected double |
rate
|
Constructor Summary | |
GAOp(int size)
The GA Operator constructor |
Method Summary | |
abstract Chromosome |
apply(Chromosome[] ind)
|
int |
getParameterSize()
|
double |
getRate()
|
void |
setRate(double rate)
Sets the rate. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int parameterSize
protected final MersenneTwisterFast random
protected double rate
Constructor Detail |
public GAOp(int size)
size
- The number of arguments (chromosomes) needed for this GA OperatorMethod Detail |
public final double getRate()
public final void setRate(double rate)
rate
- The rate to setpublic abstract Chromosome apply(Chromosome[] ind)
public final int getParameterSize()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |