Package | Description |
---|---|
com.google.common.graph |
An API for representing graph (node and edge) data.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
AbstractDirectedNetworkConnections<N,E>
A base implementation of
NetworkConnections for directed networks. |
(package private) class |
AbstractUndirectedNetworkConnections<N,E>
A base implementation of
NetworkConnections for undirected networks. |
(package private) class |
DirectedMultiNetworkConnections<N,E>
An implementation of
NetworkConnections for directed networks with parallel edges. |
(package private) class |
DirectedNetworkConnections<N,E>
An implementation of
NetworkConnections for directed networks. |
(package private) class |
UndirectedMultiNetworkConnections<N,E>
An implementation of
NetworkConnections for undirected networks with parallel edges. |
(package private) class |
UndirectedNetworkConnections<N,E>
An implementation of
NetworkConnections for undirected networks. |
Modifier and Type | Field and Description |
---|---|
protected MapIteratorCache<N,NetworkConnections<N,E>> |
ConfigurableNetwork.nodeConnections |
Modifier and Type | Method and Description |
---|---|
private NetworkConnections<N,E> |
ConfigurableMutableNetwork.addNodeInternal(N node)
Adds
node to the graph and returns the associated NetworkConnections . |
protected NetworkConnections<N,E> |
ConfigurableNetwork.checkedConnections(N node) |
private static <N,E> NetworkConnections<N,E> |
ImmutableNetwork.connectionsOf(Network<N,E> network,
N node) |
private NetworkConnections<N,E> |
ConfigurableMutableNetwork.newConnections() |
Modifier and Type | Method and Description |
---|---|
private static <N,E> java.util.Map<N,NetworkConnections<N,E>> |
ImmutableNetwork.getNodeConnections(Network<N,E> network) |
Constructor and Description |
---|
ConfigurableNetwork(NetworkBuilder<? super N,? super E> builder,
java.util.Map<N,NetworkConnections<N,E>> nodeConnections,
java.util.Map<E,N> edgeToReferenceNode)
Constructs a graph with the properties specified in
builder , initialized with the given
node and edge maps. |