Class AStarIterator.AStarNode
- Object
-
- AStarNode
-
- Enclosing class:
- AStarIterator
public static class AStarIterator.AStarNode extends Object
Internal data structure used to track node costs, and parent nodes.- Author:
- German E. Trouillet, Francisco G. Malbrán. Universidad Nacional de Córdoba (UNC)
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
double
getF()
double
getG()
double
getH()
Node
getNode()
AStarIterator.AStarNode
getParent()
boolean
isClosed()
void
setG(double value)
void
setH(double value)
void
setNode(Node n)
void
setParent(AStarIterator.AStarNode an)
-
-
-
Constructor Detail
-
AStarNode
public AStarNode(Node n, double h_val)
-
-
Method Detail
-
isClosed
public boolean isClosed()
-
close
public void close()
-
getG
public double getG()
-
getH
public double getH()
-
getF
public double getF()
-
getParent
public AStarIterator.AStarNode getParent()
-
getNode
public Node getNode()
-
setG
public void setG(double value)
-
setH
public void setH(double value)
-
setNode
public void setNode(Node n)
-
setParent
public void setParent(AStarIterator.AStarNode an)
-
-