Skip navigation links

Oracle® Spatial Java API Reference
11g Release 2 (11.2)
E11829-02


oracle.spatial.network.lod
Class TspPath

java.lang.Object
  extended by oracle.spatial.network.lod.TspPath


public class TspPath
extends java.lang.Object

A TspPath consists of an array of LogicalSubPath and the order of the points on the TSP tour.

Since:
Oracle Database 11g Release 2 (11.2)

Constructor Summary
TspPath(LogicalSubPath[] paths, int[] tspOrder)
          Constructs a TspPath instance.

 

Method Summary
 LogicalSubPath[] getPaths()
          Returns the logical sub-path for the TSP tour.
 int[] getTspOrder()
          Returns the index of the points in visited order.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

TspPath

public TspPath(LogicalSubPath[] paths,
               int[] tspOrder)
Constructs a TspPath instance.
Parameters:
paths - paths between two consecutive points on the tsp path.
tspOrder - order of the points represented by the index of the points in the original input array to the tsp analysis function.

Method Detail

getPaths

public LogicalSubPath[] getPaths()
Returns the logical sub-path for the TSP tour.
Returns:
logical path

getTspOrder

public int[] getTspOrder()
Returns the index of the points in visited order.
Returns:

Skip navigation links

Oracle® Spatial Java API Reference
11g Release 2 (11.2)
E11829-02


Copyright © 2007, 2011, Oracle and/or its affiliates. All Rights Reserved.