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(Object 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>> |
AbstractGraph.edges()
A reasonable default implementation of
Graph.edges() defined in terms of Graph.nodes() and Graph.successors(Object) . |
Copyright © 2010-2016. All Rights Reserved.