Package org.uma.jmetal.algorithm.impl
Class AbstractEvolutionaryAlgorithm<S,R>
java.lang.Object
org.uma.jmetal.algorithm.impl.AbstractEvolutionaryAlgorithm<S,R>
- Type Parameters:
S- SolutionR- Result
- All Implemented Interfaces:
Serializable,Runnable,Algorithm<R>
- Direct Known Subclasses:
AbstractDifferentialEvolution,AbstractEvolutionStrategy,AbstractGeneticAlgorithm
Abstract class representing an evolutionary algorithm
- Author:
- Antonio J. Nebro
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevaluatePopulation(List<S> population) protected abstract voidprotected abstract booleanreplacement(List<S> population, List<S> offspringPopulation) reproduction(List<S> population) voidrun()voidsetPopulation(List<S> population) voidsetProblem(Problem<S> problem) protected abstract voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.uma.jmetal.algorithm.Algorithm
description, name, result
-
Field Details
-
population
-
problem
-
-
Constructor Details
-
AbstractEvolutionaryAlgorithm
public AbstractEvolutionaryAlgorithm()
-
-
Method Details
-
getPopulation
-
setPopulation
-
setProblem
-
getProblem
-
initProgress
protected abstract void initProgress() -
updateProgress
protected abstract void updateProgress() -
isStoppingConditionReached
protected abstract boolean isStoppingConditionReached() -
createInitialPopulation
-
evaluatePopulation
-
selection
-
reproduction
-
replacement
-
run
-