Class MutationOperator

java.lang.Object
unifeat.featureSelection.wrapper.GABasedMethods.MutationOperator

public class MutationOperator extends Object
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 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 parent
      prob - the probability of mutation operation
    • 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 parent
      prob - the probability of mutation operation