Package org.opt4j.core.optimizer
Interface IndividualCompleter
-
- All Known Implementing Classes:
ParallelIndividualCompleter
,SequentialIndividualCompleter
public interface IndividualCompleter
AnIndividualCompleter
completes the evaluation process ofIndividual
s. In particular, the individuals are decoded using aDecoder
and evaluated using anEvaluator
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
complete(Iterable<? extends Individual> iterable)
Decodes and evaluates allIndividual
s in theIterable
if they are not already evaluated.void
complete(Individual... individuals)
Decodes and evaluates all givenIndividual
s if they are not already evaluated.
-
-
-
Method Detail
-
complete
void complete(Iterable<? extends Individual> iterable) throws TerminationException
Decodes and evaluates allIndividual
s in theIterable
if 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 givenIndividual
s if they are not already evaluated.- Parameters:
individuals
- the individuals to be completed- Throws:
TerminationException
- if the optimization is terminated
-
-