Class PopulationAndNeighborhoodSelection<S extends Solution<?>>
java.lang.Object
org.uma.jmetal.component.catalogue.ea.selection.impl.PopulationAndNeighborhoodSelection<S>
- Type Parameters:
S- Type of the solutions
- All Implemented Interfaces:
Selection<S>
public class PopulationAndNeighborhoodSelection<S extends Solution<?>>
extends Object
implements Selection<S>
This class allows to select N different solutions that can be taken from a solution list (i.e, population or swarm) or
from a neighborhood according to a given probability.
- Author:
- Antonio J. Nebro
-
Constructor Summary
ConstructorsConstructorDescriptionPopulationAndNeighborhoodSelection(int matingPoolSize, SequenceGenerator<Integer> solutionIndexGenerator, Neighborhood<S> neighborhood, double neighborhoodSelectionProbability, boolean selectCurrentSolution) -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
PopulationAndNeighborhoodSelection
public PopulationAndNeighborhoodSelection(int matingPoolSize, SequenceGenerator<Integer> solutionIndexGenerator, Neighborhood<S> neighborhood, double neighborhoodSelectionProbability, boolean selectCurrentSolution)
-
-
Method Details
-
select
-
getNeighborType
-
getSolutionIndexGenerator
-