|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mutationRules.MutateBeliefs
Mutates an agents beliefs, this includes strategy weights, beliefs, and alpha and beta levels.
Constructor Summary | |
MutateBeliefs()
Constructor which sets mutation rate to 0. |
|
MutateBeliefs(double m)
Constructor which accepts rate and strategy number. |
Method Summary | |
double |
getMutationRate()
|
void |
mutate(Individual i)
Mutates weights, beliefs, and alpha/beta values. |
void |
setMutationRate(double m,
int s)
Sets the mutation rate |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MutateBeliefs(double m) throws ModelError
public MutateBeliefs()
Method Detail |
public void mutate(Individual i) throws ModelError
mutate
in interface MutationRule
ModelError
public void setMutationRate(double m, int s) throws ModelError
setMutationRate
in interface MutationRule
ModelError
public double getMutationRate()
getMutationRate
in interface MutationRule
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |