S - public class MOCell<S extends Solution<?>> extends AbstractGeneticAlgorithm<S,List<S>>
| Modifier and Type | Field and Description |
|---|---|
protected int |
archiveSize |
protected int |
evaluations |
protected SolutionListEvaluator<S> |
evaluator |
protected int |
maxEvaluations |
protected int |
populationSize |
protected Problem<S> |
problem |
crossoverOperator, mutationOperator, selectionOperator| Constructor and Description |
|---|
MOCell(Problem<S> problem,
int maxEvaluations,
int populationSize,
int archiveSize,
Neighborhood<S> neighborhood,
CrossoverOperator<S> crossoverOperator,
MutationOperator<S> mutationOperator,
SelectionOperator<List<S>,S> selectionOperator,
SolutionListEvaluator<S> evaluator)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected List<S> |
createInitialPopulation() |
protected List<S> |
evaluatePopulation(List<S> population) |
List<S> |
getResult() |
protected void |
initProgress() |
protected boolean |
isStoppingConditionReached() |
protected List<S> |
replacement(List<S> population,
List<S> offspringPopulation) |
protected List<S> |
reproduction(List<S> population) |
protected List<S> |
selection(List<S> population) |
protected void |
updateProgress() |
getPopulation, run, setPopulationprotected int evaluations
protected int maxEvaluations
protected int populationSize
protected int archiveSize
protected final SolutionListEvaluator<S extends Solution<?>> evaluator
public MOCell(Problem<S> problem, int maxEvaluations, int populationSize, int archiveSize, Neighborhood<S> neighborhood, CrossoverOperator<S> crossoverOperator, MutationOperator<S> mutationOperator, SelectionOperator<List<S>,S> selectionOperator, SolutionListEvaluator<S> evaluator)
problem - maxEvaluations - populationSize - archiveSize - neighborhood - crossoverOperator - mutationOperator - selectionOperator - evaluator - protected void initProgress()
initProgress in class AbstractEvolutionaryAlgorithm<S extends Solution<?>,List<S extends Solution<?>>>protected void updateProgress()
updateProgress in class AbstractEvolutionaryAlgorithm<S extends Solution<?>,List<S extends Solution<?>>>protected boolean isStoppingConditionReached()
isStoppingConditionReached in class AbstractEvolutionaryAlgorithm<S extends Solution<?>,List<S extends Solution<?>>>protected List<S> createInitialPopulation()
createInitialPopulation in class AbstractEvolutionaryAlgorithm<S extends Solution<?>,List<S extends Solution<?>>>protected List<S> evaluatePopulation(List<S> population)
evaluatePopulation in class AbstractEvolutionaryAlgorithm<S extends Solution<?>,List<S extends Solution<?>>>protected List<S> reproduction(List<S> population)
reproduction in class AbstractEvolutionaryAlgorithm<S extends Solution<?>,List<S extends Solution<?>>>protected List<S> replacement(List<S> population, List<S> offspringPopulation)
replacement in class AbstractEvolutionaryAlgorithm<S extends Solution<?>,List<S extends Solution<?>>>Copyright © 2015. All rights reserved.