Package | Description |
---|---|
com.google.common.graph |
An API for representing graph (node and edge) data.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
StandardMutableValueGraph<N,V>
Standard implementation of
MutableValueGraph that supports both directed and undirected
graphs. |
Modifier and Type | Field and Description |
---|---|
private MutableValueGraph<N,GraphConstants.Presence> |
StandardMutableGraph.backingValueGraph |
private MutableValueGraph<N,V> |
ImmutableValueGraph.Builder.mutableValueGraph |
Modifier and Type | Method and Description |
---|---|
<N1 extends N,V1 extends V> |
ValueGraphBuilder.build()
Returns an empty
MutableValueGraph with the properties of this ValueGraphBuilder . |
static <N,V> MutableValueGraph<N,V> |
Graphs.copyOf(ValueGraph<N,V> graph)
Creates a mutable copy of
graph with the same nodes, edges, and edge values. |
static <N,V> MutableValueGraph<N,V> |
Graphs.inducedSubgraph(ValueGraph<N,V> graph,
java.lang.Iterable<? extends N> nodes)
Returns the subgraph of
graph induced by nodes . |