org.geotools.graph.traverse.standard
Class AStarIterator.AStarNode

Object
  extended by AStarIterator.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)

Constructor Summary
AStarIterator.AStarNode(Node n, double h_val)
           
 
Method Summary
 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)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AStarIterator.AStarNode

public AStarIterator.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)


Copyright © 1996-2009 Geotools. All Rights Reserved.