5 * The Walkable interface specifies a set of methods that defines a web.
8 public interface Walkable {
11 * Returns the name of the node
13 public String getNodeName();
17 * Returns the number of neighbors from this node
19 public int getNeighborCount();
23 * Returns a specific neighbor
25 public Object getNeighbor(int index);
28 * Returns a pretty print of the representation of the node.
30 * @param indent number of blank spaces to skip for a new line
31 * @param recursive if true, recursively print children
33 public String PPrint(int indent, boolean recursive);