Class PathFinder

java.lang.Object
  extended by PathFinder

public class PathFinder
extends Object


Constructor Summary
PathFinder(int n)
           
 
Method Summary
 Path[] allShortestPaths(long code1, long code2)
           
 int distance(long code1, long code2)
           
 int getPathCount(long code)
           
static void main(String[] args)
           
 void setCounting(boolean b)
           
 Path[] shortestLegalPaths(long code1, long code2)
           
 Path shortestPath(long code1, long code2)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathFinder

public PathFinder(int n)
Method Detail

setCounting

public void setCounting(boolean b)

getPathCount

public int getPathCount(long code)

shortestPath

public Path shortestPath(long code1,
                         long code2)

distance

public int distance(long code1,
                    long code2)

shortestLegalPaths

public Path[] shortestLegalPaths(long code1,
                                 long code2)

allShortestPaths

public Path[] allShortestPaths(long code1,
                               long code2)

main

public static void main(String[] args)