datastructures
Class Node

java.lang.Object
  extended by datastructures.Node

public class Node
extends java.lang.Object

Node class for path finding algorithms.


Field Summary
 double f_value
           
 double g_value
           
 double h_value
           
 boolean opened
           
 Node previous
           
 int x
           
 int y
           
 
Constructor Summary
Node(int x, int y)
           
Node(int x, int y, int g)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public int x

y

public int y

f_value

public double f_value

g_value

public double g_value

h_value

public double h_value

previous

public Node previous

opened

public boolean opened
Constructor Detail

Node

public Node(int x,
            int y)

Node

public Node(int x,
            int y,
            int g)