Class FeaturePath

  • All Implemented Interfaces:
    java.lang.Comparable<FeaturePath>

    public class FeaturePath
    extends java.lang.Object
    implements java.lang.Comparable<FeaturePath>
    A FeaturePath object consists of a Feature and the PathFeature that ends at the feature. It is used in analysis results.
    Since:
    12.1
    • Constructor Detail

      • FeaturePath

        public FeaturePath​(Feature feature,
                           PathFeature path)
        Constructs a FeaturePath object.
        Parameters:
        feature - feature of interest
        path - path that ends at the feature of interest
    • Method Detail

      • compareTo

        public int compareTo​(FeaturePath o)
        Compares the cost of the path.
        Specified by:
        compareTo in interface java.lang.Comparable<FeaturePath>
        Parameters:
        o -
        Returns:
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setFeature

        public void setFeature​(Feature feature)
        Sets the feature of interest.
        Parameters:
        feature -
      • getFeature

        public Feature getFeature()
        Returns the feature of interest.
        Returns:
      • setPath

        public void setPath​(PathFeature path)
        Sets the path feature.
        Parameters:
        path -
      • getPath

        public PathFeature getPath()
        Returns the path feature.
        Returns: