|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectnet.aronnax.CountPaths.CountPaths
public class CountPaths
Class CountPaths systematically searches for all paths connecting a pair of vertices for some given length.
Path,
Vertex| Constructor Summary | |
|---|---|
CountPaths(int reqPathLength,
Vertex startVertex,
Vertex endVertex)
This constructor sets up the most important options of the CountPaths run. |
|
| Method Summary | |
|---|---|
void |
returnGoodPaths(java.io.PrintStream outStream)
The returnGoodPaths toggles on the reporting of good Path Vertex lists (in order, of course). |
long |
run()
The run method does the actual path search using the parameters previously specified. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CountPaths(int reqPathLength,
Vertex startVertex,
Vertex endVertex)
reqPathLength - The length of the path we are searching for.startVertex - The Vertex to start our path search from.endVertex - The Vertex that ends our search.| Method Detail |
|---|
public long run()
public void returnGoodPaths(java.io.PrintStream outStream)
outStream - The PrintStream to send good paths to.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||