Class TspAnalysisInfo


  • public class TspAnalysisInfo
    extends LODAnalysisInfo
    This class contains the TSP points in order, besides other info in LODAnalysisInfo.
    Since:
    11gR2
    • Constructor Detail

      • TspAnalysisInfo

        public TspAnalysisInfo​(int numTspPoints)
        Creates an TspAnalysisInfo object.
        Parameters:
        numTspPoints - number of TSP points
    • Method Detail

      • getTspOrder

        public int[] getTspOrder()
        Returns TSP points in order. Each element in the returned array is the first member of a TSP point candidate array in the TSP analysis.
        Returns:
      • setTspOrder

        public void setTspOrder​(int[] tspOrder)
        Sets TSP points in order
        Parameters:
        tspOrder - TSP points in order. Each element in the input array is the first member of a TSP point candidate array in the TSP analysis.
      • getTspCosts

        public double[] getTspCosts​(int pointIndex)
        Returns the costs to reach the input tsp point.
      • setTspCosts

        public void setTspCosts​(int pointIndex,
                                double[] costs)
        Sets the costs to reach the input tsp point.