|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mutationRules.NoMutate
This is basically a simple class which can be used as a place holder
Constructor Summary | |
NoMutate()
|
Method Summary | |
double |
getMutationRate()
Returns 0.0 |
void |
mutate(Individual i)
Does nothing |
void |
setMutationRate(double m,
int s)
Does nothing |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NoMutate()
Method Detail |
public void setMutationRate(double m, int s) throws ModelError
setMutationRate
in interface MutationRule
ModelError
public double getMutationRate()
getMutationRate
in interface MutationRule
public void mutate(Individual i) throws ModelError
mutate
in interface MutationRule
ModelError
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |