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