Created
October 24, 2012 04:41
-
-
Save justcoding121/3943902 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this template, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package aiproject; | |
import java.awt.Point; | |
//Node Object blueprint | |
public class Node { | |
public String city; | |
public boolean visited = false; | |
public String parent; | |
public double dist_from_root; | |
public double estimated_dist_destination; | |
public int links_from_root; | |
public int est_links_to_dest; | |
public Point p; | |
public String path; | |
//constructor | |
public Node(String l, Point P) { | |
this.city = l; | |
this.p = P; | |
} | |
Iterable<Node> getOutNodes() { | |
throw new UnsupportedOperationException("Not yet implemented"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment