Class FrequencySelectionMutationBasedPerturbation
java.lang.Object
org.uma.jmetal.component.catalogue.pso.perturbation.impl.FrequencySelectionMutationBasedPerturbation
- All Implemented Interfaces:
Perturbation
This perturbation applies a mutation operator to a fixed set of solutions according to a
frequency parameter. Given a frequency of application parameter f and a list of solutions,
the mutation will be applied to solutions in position p such as p % f == 0.
- Author:
- Antonio J. Nebro, Daniel Doblas
-
Constructor Summary
ConstructorsConstructorDescriptionFrequencySelectionMutationBasedPerturbation(MutationOperator<DoubleSolution> mutationOperator) ConstructorFrequencySelectionMutationBasedPerturbation(MutationOperator<DoubleSolution> mutationOperator, int frequencyOfApplication) Constructor -
Method Summary
Modifier and TypeMethodDescriptiondoubleGet the percentage of application for mutation operatorOperatorperturb(List<DoubleSolution> swarm)
-
Constructor Details
-
FrequencySelectionMutationBasedPerturbation
public FrequencySelectionMutationBasedPerturbation(MutationOperator<DoubleSolution> mutationOperator, int frequencyOfApplication) Constructor- Parameters:
mutationOperator- : Operator of mutationfrequencyOfApplication-
-
FrequencySelectionMutationBasedPerturbation
public FrequencySelectionMutationBasedPerturbation(MutationOperator<DoubleSolution> mutationOperator) Constructor- Parameters:
mutationOperator- : Operator of mutation
-
-
Method Details
-
perturb
- Specified by:
perturbin interfacePerturbation
-
getMutationOperator
-
getFrequencyOfApplication
public double getFrequencyOfApplication()Get the percentage of application for mutation operator- Returns:
- Pertentage of application for mutation operator
-