auc.algo
Interface RouteAlgorithm
- All Known Implementing Classes:
- InsertionPlanner, GeneticPlanner, BruteForce, GridPlanner
- public interface RouteAlgorithm
The general interface for all route planning algorithms.
planRoute
public Route planRoute(Job j)
- Searches for the optimal route and orders the points array to be in the optimal order.
The 0-th element in the array is assumed to be starting point.
No assumptions are made for ending point.
- Parameters:
job - The job structure, which contains field, observation points....
setCostEvaluator
public void setCostEvaluator(CostEvaluator ce)
- Sets the cost evaluator object to evaluate one segment cost.
- Parameters:
ce - The cost evaluator. If not set the default cost evaluator should be used.