Class WebPath

  • All Implemented Interfaces:
    Renderable

    public class WebPath
    extends Path
    A path that is generated from a Web instance.
    • Constructor Detail

      • WebPath

        public WebPath​(java.util.List<WebVertex> vertices,
                       double traversalCost)
      • WebPath

        public WebPath​(java.util.List<WebVertex> vertices,
                       java.util.Set<WebRequirement> requirements,
                       double traversalCost)
    • Method Detail

      • areRequirementsMet

        public boolean areRequirementsMet()
      • getDestination

        @Nullable
        public Locatable getDestination()
      • getRequirements

        @NonNull
        public @NonNull java.util.Set<WebRequirement> getRequirements()
      • getBlockingConditions

        @Deprecated
        @NonNull
        public @NonNull java.util.Set<WebRequirement> getBlockingConditions()
        Deprecated.
      • getStart

        @Nullable
        public Locatable getStart()
      • getTraversalCost

        public double getTraversalCost()
      • getVertices

        public java.util.List<WebVertex> getVertices()
        Description copied from class: Path
        Gets a list of the vertices in this path
        Specified by:
        getVertices in class Path
        Returns:
        A List
      • getNext

        public WebVertex getNext()
        Specified by:
        getNext in class Path
        Returns:
        the next Locatable within the path.
      • getNext

        public WebVertex getNext​(boolean preferViewportTraversal)
        Specified by:
        getNext in class Path
      • reset

        public void reset()
        Resets the last successful step counter
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Path