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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidbitwiseMutation(boolean[] parent, double prob) Mutates new offsprings by changing the value of some genes in them using bitwise mutationstatic voidbitwiseMutation(Boolean[] parent, double prob) Mutates new offsprings by changing the value of some genes in them using bitwise mutation
- 
Constructor Details- 
MutationOperatorpublic MutationOperator()
 
- 
- 
Method Details- 
bitwiseMutationpublic 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 parent
- prob- the probability of mutation operation
 
- 
bitwiseMutationMutates new offsprings by changing the value of some genes in them using bitwise mutation- Parameters:
- parent- the first parent
- prob- the probability of mutation operation
 
 
-