| Modifier and Type | Class and Description |
|---|---|
| private static enum | Graphs.
An enum representing the state of a node during DFS. |
| private static class | |
| private static class | |
| private static class |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | canTraverseWithoutReusingEdge(Graph<?> graph, Object nextNode, Object previousNode)
Determines whether an edge has already been used during traversal. |
| pack-priv static int | |
| pack-priv static long | |
| pack-priv static int | |
| pack-priv static long | |
| public static <N> MutableGraph | |
| public static <N, V> MutableValueGraph | copyOf(ValueGraph<N, V> graph)
Creates a mutable copy of |
| public static <N, E> MutableNetwork | |
| public static <N> boolean | |
| public static boolean | |
| public static <N> MutableGraph | inducedSubgraph(Graph<N> graph, Iterable<? extends N> nodes)
Returns the subgraph of |
| public static <N, V> MutableValueGraph | inducedSubgraph(ValueGraph<N, V> graph, Iterable<? extends N> nodes)
Returns the subgraph of |
| public static <N, E> MutableNetwork | inducedSubgraph(Network<N, E> network, Iterable<? extends N> nodes)
Returns the subgraph of |
| public static <N> ImmutableSet | reachableNodes(Graph<N> graph, N node)
Hides com. node.
|
| private static <N> boolean | subgraphHasCycle(Graph<N> graph, Map<Object, Graphs.
Performs a traversal of the nodes reachable from |
| public static <N> ImmutableGraph | transitiveClosure(Graph<N> graph)
Hides com. graph.
|
| public static <N> Graph | |
| public static <N, V> ValueGraph | transpose(ValueGraph<N, V> graph)
Returns a view of |
| public static <N, E> Network | |
| pack-priv static <N> EndpointPair |