Class MutationOperator
java.lang.Object
unifeat.featureSelection.wrapper.GABasedMethods.MutationOperator
This java class is used to implement various mutation operators for mutating
new offsprings by changing the value of some genes in them.
The methods in this class is contained brief description of the applications.
- Author:
- Sina Tabakhi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
bitwiseMutation
(boolean[] parent, double prob) Mutates new offsprings by changing the value of some genes in them using bitwise mutationstatic void
bitwiseMutation
(Boolean[] parent, double prob) Mutates new offsprings by changing the value of some genes in them using bitwise mutation
-
Constructor Details
-
MutationOperator
public MutationOperator()
-
-
Method Details
-
bitwiseMutation
public static void bitwiseMutation(boolean[] parent, double prob) Mutates new offsprings by changing the value of some genes in them using bitwise mutation- Parameters:
parent
- the first parentprob
- the probability of mutation operation
-
bitwiseMutation
Mutates new offsprings by changing the value of some genes in them using bitwise mutation- Parameters:
parent
- the first parentprob
- the probability of mutation operation
-