Package org.opt4j.core.optimizer
Interface IndividualCompleter
-
- All Known Implementing Classes:
ParallelIndividualCompleter,SequentialIndividualCompleter
public interface IndividualCompleterAnIndividualCompletercompletes the evaluation process ofIndividuals. In particular, the individuals are decoded using aDecoderand evaluated using anEvaluator.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcomplete(Iterable<? extends Individual> iterable)Decodes and evaluates allIndividuals in theIterableif they are not already evaluated.voidcomplete(Individual... individuals)Decodes and evaluates all givenIndividuals if they are not already evaluated.
-
-
-
Method Detail
-
complete
void complete(Iterable<? extends Individual> iterable) throws TerminationException
Decodes and evaluates allIndividuals in theIterableif they are not already evaluated.- Parameters:
iterable- the set of individuals to be completed- Throws:
TerminationException- if the optimization is terminated
-
complete
void complete(Individual... individuals) throws TerminationException
Decodes and evaluates all givenIndividuals if they are not already evaluated.- Parameters:
individuals- the individuals to be completed- Throws:
TerminationException- if the optimization is terminated
-
-