public class IBEA<S extends Solution<?>> extends Object implements Algorithm<List<S>>
| Modifier and Type | Field and Description |
|---|---|
static int |
TOURNAMENTS_ROUNDS |
| Constructor and Description |
|---|
IBEA(Problem<S> problem,
int populationSize,
int archiveSize,
int maxEvaluations,
SelectionOperator<List<S>,S> selectionOperator,
CrossoverOperator<S> crossoverOperator,
MutationOperator<S> mutationOperator)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
calculateFitness(List<S> solutionSet)
Calculate the fitness for the entire population.
|
void |
computeIndicatorValuesHD(List<S> solutionSet,
double[] maximumValues,
double[] minimumValues)
This structure stores the indicator values of each pair of elements
|
void |
fitness(List<S> solutionSet,
int pos)
Calculate the fitness for the individual at position pos
|
List<S> |
getResult() |
void |
removeWorst(List<S> solutionSet)
Update the fitness before removing an individual
|
void |
run()
Execute() method
|
public static final int TOURNAMENTS_ROUNDS
public IBEA(Problem<S> problem, int populationSize, int archiveSize, int maxEvaluations, SelectionOperator<List<S>,S> selectionOperator, CrossoverOperator<S> crossoverOperator, MutationOperator<S> mutationOperator)
public void run()
public void computeIndicatorValuesHD(List<S> solutionSet, double[] maximumValues, double[] minimumValues)
public void fitness(List<S> solutionSet, int pos)
public void calculateFitness(List<S> solutionSet)
Copyright © 2015. All rights reserved.