Interface TspConstraint

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int[] getUserDataCategories()
      Returns the required user data categories.
      void reset()
      This method allows a stateful network constraint object to be reset to its original state and reused by network analysis functions.
      void setNetworkAnalyst​(NetworkAnalyst analyst)
      This method allows caller to pass the network analyst object to this constraint, so that the constraint can call the analysis functions provided by the network analyst, or access the network explorer associated with the network analyst.
    • Method Detail

      • getUserDataCategories

        int[] getUserDataCategories()
        Returns the required user data categories.
        Returns:
      • reset

        void reset()
        This method allows a stateful network constraint object to be reset to its original state and reused by network analysis functions.
      • setNetworkAnalyst

        void setNetworkAnalyst​(NetworkAnalyst analyst)
        This method allows caller to pass the network analyst object to this constraint, so that the constraint can call the analysis functions provided by the network analyst, or access the network explorer associated with the network analyst. If network analyst is not needed by the constraint, the link level selector can choose to do nothing with this method.