|
Oracle® Spatial Java API Reference 11g Release 2 (11.2) E11829-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TSP
This interface defines methods supported by traveling salesman problem algorithm.
Nested Class Summary | |
---|---|
static class |
TSP.TourFlag Enumeration whose values indicate whether a tsp tour is open or closed, and if open, whether the tour have fixed start and/or end point. |
Method Summary | |
---|---|
TspPath |
tspPath(PointOnNet[][] points, TSP.TourFlag tourFlag, int linkLevel, LODNetworkConstraint constraint) Returns the traveling salesman tour with the optimal or suboptimal cost. |
Method Detail |
---|
TspPath tspPath(PointOnNet[][] points, TSP.TourFlag tourFlag, int linkLevel, LODNetworkConstraint constraint) throws LODNetworkException
points
- points to visit on the TSP tour.tourFlag
- a flag indicating whether the tour should be open or closed, and if the tour is open, whether the tour should have fixed start or end point.linkLevel
- link levelconstraint
- network constraintLODNetworkException
|
Oracle® Spatial Java API Reference 11g Release 2 (11.2) E11829-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |