Package | Description |
---|---|
com.google.common.graph |
An API for representing graph (node and edge) data.
|
Modifier and Type | Method and Description |
---|---|
EndpointPair<N> |
Network.incidentNodes(E edge)
Returns the nodes which are the endpoints of
edge in this network. |
static <N> EndpointPair<N> |
EndpointPair.ordered(N source,
N target)
Returns an
EndpointPair representing the endpoints of a directed edge. |
static <N> EndpointPair<N> |
EndpointPair.unordered(N nodeU,
N nodeV)
Returns an
EndpointPair representing the endpoints of an undirected edge. |
Modifier and Type | Method and Description |
---|---|
Set<EndpointPair<N>> |
Graph.edges()
Returns all edges in this graph.
|
Set<EndpointPair<N>> |
ValueGraph.edges()
Returns all edges in this graph.
|
Copyright © 2010-2017. All Rights Reserved.