|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPathFinder
public class PathFinder
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 |
---|
public PathFinder(int n)
Method Detail |
---|
public void setCounting(boolean b)
public int getPathCount(long code)
public Path shortestPath(long code1, long code2)
public int distance(long code1, long code2)
public Path[] shortestLegalPaths(long code1, long code2)
public Path[] allShortestPaths(long code1, long code2)
public static void main(String[] args)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |