Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* 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;
public Node(String l, Point P) { = 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