org.opt4j.core.problem
Interface Evaluator<P>

Type Parameters:
P - the type of the phenotype that is evaluated
All Known Implementing Classes:
MultiEvaluator

public interface Evaluator<P>

The Evaluator evaluates phenotypes to Objectives. The Evaluator must always add the same Objectives to the Objectives.

See Also:
Objectives

Method Summary
 Objectives evaluate(P phenotype)
          Evaluates a phenotype Object and returns the results in the Objectives.
 

Method Detail

evaluate

Objectives evaluate(P phenotype)
Evaluates a phenotype Object and returns the results in the Objectives.

Parameters:
phenotype - the phenotype to be evaluated
Returns:
the results in the objectives