java.lang.Object
com.inductiveautomation.ignition.designer.blockandconnector.routing.AStar.Path
All Implemented Interfaces:
Comparable<AStar<T>.Path>
Enclosing class:
AStar<T>

public class AStar.Path extends Object implements Comparable<AStar<T>.Path>
  • Field Details

  • Constructor Details

    • Path

      public Path()
      Default c'tor.
    • Path

      public Path(AStar<T>.Path p)
      C'tor by copy another object.
      Parameters:
      p - The path object to clone.
  • Method Details

    • compareTo

      public int compareTo(AStar<T>.Path p)
      Compare to another object using the total cost f.
      Specified by:
      compareTo in interface Comparable<AStar<T>.Path>
      Parameters:
      p - The object to compare to.
      Returns:
      less than 0 This object is smaller than 0; 0 Object are the same. bigger than 0 This object is bigger than p.
      See Also:
    • getPoint

      public T getPoint()
      Get the last point on the path.
      Returns:
      The last point visited by the path.
    • setPoint

      public void setPoint(T p)
      Set the