|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.innig.collect.Graphs
public abstract class Graphs
Graph utilities.
| Maturity: This is obviously a very immature API. The implementation of the single method in it, however, works quite well. |
| Plans: In the future, innig-util will include more complete graph handling utilities. |
| Method Summary | ||
|---|---|---|
static
|
findCycles(N initial,
GraphWalker<N> walker)
|
|
static
|
reachableNodes(N initial,
GraphWalker<N> walker)
Returns the set of all nodes reachable along directed paths from a given node in a given graph. |
|
static
|
reachableNodesFromSet(java.util.Set<N> initial,
GraphWalker<N> walker)
Returns the set of all nodes reachable along directed paths from a given set of nodes in a given graph. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <N> java.util.Set<N> reachableNodes(N initial,
GraphWalker<N> walker)
public static <N> java.util.Set<N> reachableNodesFromSet(java.util.Set<N> initial,
GraphWalker<N> walker)
public static <N> java.util.Set<java.util.List<N>> findCycles(N initial,
GraphWalker<N> walker)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||