4 * The Walkable interface specifies a set of methods that defines a web.
7 public interface Walkable {
10 * Returns the name of the node
12 public String getNodeName();
16 * Returns the number of neighbors from this node
18 public int getNeighborCount();
22 * Returns a specific neighbor
24 public Object getNeighbor(int index);
27 * Returns a pretty print of the representation of the node.
29 * @param indent number of blank spaces to skip for a new line
30 * @param recursive if true, recursively print children
32 public String PPrint(int indent, boolean recursive);