Package org.opt4j.tutorial.salesman
Class SalesmanEvaluator
java.lang.Object
org.opt4j.tutorial.salesman.SalesmanEvaluator
- All Implemented Interfaces:
Evaluator<SalesmanRoute>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionevaluate
(SalesmanRoute salesmanRoute) Evaluates a phenotypeObject
and returns the results in theObjectives
.
-
Constructor Details
-
SalesmanEvaluator
public SalesmanEvaluator()
-
-
Method Details
-
evaluate
Description copied from interface:Evaluator
Evaluates a phenotypeObject
and returns the results in theObjectives
.- Specified by:
evaluate
in interfaceEvaluator<SalesmanRoute>
- Parameters:
salesmanRoute
- the phenotype to be evaluated- Returns:
- the results in the objectives
-