|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
ObjectStronglyConn
If a directed graph implements StronglyConn.Graph, then
getSCC(shh.util.StronglyConn.Graph, java.lang.Object) will find its strongly-connected components.
| Nested Class Summary | |
static interface |
StronglyConn.Graph
A directed graph, defined purely by local conditions. |
| Constructor Summary | |
StronglyConn()
|
|
| Method Summary | |
static List |
getSCC(StronglyConn.Graph g,
Object start)
Strongly-connected components in a directed graph. |
static void |
main(String[] args)
Runs test(java.lang.String[]). |
static void |
test(String[] args)
Finds strongly-connected components of a directed graph whose edges are two-element Strings, with AB meaning the
edge from A to B. |
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StronglyConn()
| Method Detail |
public static List getSCC(StronglyConn.Graph g,
Object start)
start - The vertex at which to start, or null
if you don't care.
public static void test(String[] args)
AB meaning the
edge from A to B.
public static void main(String[] args)
test(java.lang.String[]).
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||