Package com.google.common.graph
Class UndirectedNetworkConnections<N,E>
java.lang.Object
com.google.common.graph.AbstractUndirectedNetworkConnections<N,E>
com.google.common.graph.UndirectedNetworkConnections<N,E>
- Type Parameters:
N- Node parameter typeE- Edge parameter type
- All Implemented Interfaces:
NetworkConnections<N,E>
An implementation of
NetworkConnections for undirected networks.-
Field Summary
Fields inherited from class com.google.common.graph.AbstractUndirectedNetworkConnections
incidentEdgeMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionedgesConnecting(N node) Returns the set of edges connecting the origin node tonode.(package private) static <N,E> UndirectedNetworkConnections <N, E> of()(package private) static <N,E> UndirectedNetworkConnections <N, E> ofImmutable(Map<E, N> incidentEdges) Methods inherited from class com.google.common.graph.AbstractUndirectedNetworkConnections
addInEdge, addOutEdge, adjacentNode, incidentEdges, inEdges, outEdges, predecessors, removeInEdge, removeOutEdge, successors
-
Constructor Details
-
UndirectedNetworkConnections
-
-
Method Details
-
of
-
ofImmutable
-
adjacentNodes
-
edgesConnecting
Description copied from interface:NetworkConnectionsReturns the set of edges connecting the origin node tonode. For networks without parallel edges, this set cannot be of size greater than one.
-