Package | Description |
---|---|
com.google.common.graph |
An API for representing graph (node and edge) data.
|
Modifier and Type | Class and Description |
---|---|
class |
GraphBuilder<N>
A builder for constructing instances of
MutableGraph or ImmutableGraph with
user-defined properties. |
class |
NetworkBuilder<N,E>
A builder for constructing instances of
MutableNetwork or ImmutableNetwork with
user-defined properties. |
class |
ValueGraphBuilder<N,V>
A builder for constructing instances of
MutableValueGraph or ImmutableValueGraph
with user-defined properties. |
Constructor and Description |
---|
StandardMutableGraph(AbstractGraphBuilder<? super N> builder)
Constructs a
MutableGraph with the properties specified in builder . |
StandardMutableValueGraph(AbstractGraphBuilder<? super N> builder)
Constructs a mutable graph with the properties specified in
builder . |
StandardValueGraph(AbstractGraphBuilder<? super N> builder)
Constructs a graph with the properties specified in
builder . |
StandardValueGraph(AbstractGraphBuilder<? super N> builder,
java.util.Map<N,GraphConnections<N,V>> nodeConnections,
long edgeCount)
Constructs a graph with the properties specified in
builder , initialized with the given
node map. |