Interface PathFeature

  • All Superinterfaces:
    Feature
    All Known Implementing Classes:
    PathFeatureImpl

    public interface PathFeature
    extends Feature
    A feature representing a path on a network.
    Since:
    12.1
    • Method Detail

      • getCosts

        double[] getCosts()
        Returns the costs of the path.
        Returns:
      • isReverse

        boolean isReverse()
        Whether the path is a reverse path. A reverse path is usually generated by a backward search.
        Returns:
      • getCategorizedUserData

        CategorizedUserData getCategorizedUserData()
        Returns categorized user data.
        Returns:
      • setCategorizedUserData

        void setCategorizedUserData​(CategorizedUserData userData)
        Sets categorized user data.
        Parameters:
        userData -
      • getUserData

        UserData getUserData​(int category)
        Returns user data for the specified category.
        Returns:
      • setUserData

        void setUserData​(int category,
                         UserData userData)
        Sets user data for the specified category.
        Parameters:
        userData -
      • clone

        java.lang.Object clone()
                        throws java.lang.CloneNotSupportedException
        Support cloneable
        Returns:
        cloned object
        Throws:
        java.lang.CloneNotSupportedException