Package | Description |
---|---|
com.google.common.graph |
An API for representing graph (node and edge) data.
|
Modifier and Type | Method and Description |
---|---|
ImmutableNetwork.Builder<N,E> |
ImmutableNetwork.Builder.addEdge(EndpointPair<N> endpoints,
E edge)
Adds
edge connecting endpoints . |
ImmutableNetwork.Builder<N,E> |
ImmutableNetwork.Builder.addEdge(N nodeU,
N nodeV,
E edge)
Adds
edge connecting nodeU to nodeV . |
ImmutableNetwork.Builder<N,E> |
ImmutableNetwork.Builder.addNode(N node)
Adds
node if it is not already present. |
<N1 extends N,E1 extends E> |
NetworkBuilder.immutable()
Returns an
ImmutableNetwork.Builder with the properties of this NetworkBuilder . |
Copyright © 2010–2019. All rights reserved.