Package | Description |
---|---|
com.google.common.graph |
An API for representing graph (node and edge) data.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
DirectedGraphConnections<N,V>
An implementation of
GraphConnections for directed graphs. |
(package private) class |
UndirectedGraphConnections<N,V>
An implementation of
GraphConnections for undirected graphs. |
Modifier and Type | Field and Description |
---|---|
protected MapIteratorCache<N,GraphConnections<N,V>> |
StandardValueGraph.nodeConnections |
Modifier and Type | Method and Description |
---|---|
private GraphConnections<N,V> |
StandardMutableValueGraph.addNodeInternal(N node)
Adds
node to the graph and returns the associated GraphConnections . |
protected GraphConnections<N,V> |
StandardValueGraph.checkedConnections(N node) |
private static <N> GraphConnections<N,GraphConstants.Presence> |
ImmutableGraph.connectionsOf(Graph<N> graph,
N node) |
private static <N,V> GraphConnections<N,V> |
ImmutableValueGraph.connectionsOf(ValueGraph<N,V> graph,
N node) |
private GraphConnections<N,V> |
StandardMutableValueGraph.newConnections() |
Modifier and Type | Method and Description |
---|---|
private static <N> ImmutableMap<N,GraphConnections<N,GraphConstants.Presence>> |
ImmutableGraph.getNodeConnections(Graph<N> graph) |
private static <N,V> ImmutableMap<N,GraphConnections<N,V>> |
ImmutableValueGraph.getNodeConnections(ValueGraph<N,V> graph) |
Constructor and Description |
---|
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. |