Class WebPathNode

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

    public class WebPathNode
    extends java.lang.Object
    implements java.lang.Comparable<WebPathNode>
    • Method Detail

      • updateCost

        public void updateCost()
      • addConnections

        public void addConnections​(java.util.Queue<WebPathNode> open,
                                   java.util.Set<WebPathNode> closed)
      • getX

        public int getX()
      • getY

        public int getY()
      • getZ

        public int getZ()
      • compareTo

        public int compareTo​(WebPathNode o)
        Specified by:
        compareTo in interface java.lang.Comparable<WebPathNode>
      • toString

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • isValid

        public boolean isValid()
      • getDepth

        public int getDepth()
      • getCost

        public double getCost()