|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectOperator.Operations.MutationOperation
Operator.Operations.IntFlipMutation
public class IntFlipMutation
IntFlipMutation does integer mutation
| Field Summary |
|---|
| Fields inherited from class Operator.Operations.MutationOperation |
|---|
fitnessFunction, noOfMutationCalls, probability, rng |
| Constructor Summary | |
|---|---|
IntFlipMutation(double prob,
RandomNumberGenerator rng)
Creates a new instance of IntFlipMutation |
|
IntFlipMutation(RandomNumberGenerator rng,
java.util.Properties p)
New instance |
|
| Method Summary | |
|---|---|
void |
doOperation(Individual operand)
Calls doMutation(GEIndividual c) and then calls Individual.invalidate() |
void |
doOperation(java.util.List<Individual> operands)
Performs the operation on the list passed |
| Methods inherited from class Operator.Operations.MutationOperation |
|---|
getRNG, setFitnessFunction, setProperties, setRNG |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IntFlipMutation(double prob,
RandomNumberGenerator rng)
prob - mutation probabilityrng - random number generator
public IntFlipMutation(RandomNumberGenerator rng,
java.util.Properties p)
rng - random number generatorp - properties| Method Detail |
|---|
public void doOperation(java.util.List<Individual> operands)
Operation
doOperation in interface OperationdoOperation in class MutationOperationoperands - operands to be operated onpublic void doOperation(Individual operand)
doOperation in interface OperationdoOperation in class MutationOperationoperand - operand to operate on
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||