Skip to content

Instantly share code, notes, and snippets.

@justcoding121
Created October 24, 2012 04:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justcoding121/3943902 to your computer and use it in GitHub Desktop.
Save justcoding121/3943902 to your computer and use it in GitHub Desktop.
/*
* 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