Package behaviour
Class RandomMutation
java.lang.Object
behaviour.RandomMutation
- All Implemented Interfaces:
MutationBehaviour
a mutation behaviour
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RandomMutation
public RandomMutation()
-
-
Method Details
-
mutate
The mutation is an evolutionary operation that randomly mutates an individual.- Specified by:
mutate
in interfaceMutationBehaviour
- Parameters:
children
- the current childrenmutationRate
- the mutation rate from Genetic Algorithm Setting Class- Returns:
- the new children
-