|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opt4j.core.problem.MultiEvaluator
public class MultiEvaluator
The MultiEvaluator takes all registered Evaluators and uses
them to evaluate the phenotype. Use ProblemModule.addEvaluator(Class)
to add additional Evaluator s.
The order of the Evaluators can be controlled using the
Priority annotation for the Evaluator classes.
| Field Summary | |
|---|---|
protected java.util.Set<Evaluator<java.lang.Object>> |
evaluators
|
| Constructor Summary | |
|---|---|
MultiEvaluator(java.util.Set<Evaluator<java.lang.Object>> evaluators)
Creates a new MultiEvaluator. |
|
| Method Summary | |
|---|---|
Objectives |
evaluate(java.lang.Object phenotype)
Evaluates a phenotype Object and returns the results in the
Objectives. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final java.util.Set<Evaluator<java.lang.Object>> evaluators
| Constructor Detail |
|---|
@Inject public MultiEvaluator(java.util.Set<Evaluator<java.lang.Object>> evaluators)
MultiEvaluator.
evaluators - the registered evaluators| Method Detail |
|---|
public Objectives evaluate(java.lang.Object phenotype)
EvaluatorObject and returns the results in the
Objectives.
evaluate in interface Evaluator<java.lang.Object>phenotype - the phenotype to be evaluated
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||