NetworkConnections for directed networks with parallel edges.
| Modifier and Type | Field and Description |
|---|---|
| private transient Reference | |
| private transient Reference |
| Access | Constructor and Description |
|---|---|
| private |
| predecessorsReference | back to summary |
|---|---|
| private transient Reference<Multiset<N>> predecessorsReference
| |
| successorsReference | back to summary |
|---|---|
| private transient Reference<Multiset<N>> successorsReference
| |
| DirectedMultiNetworkConnections | back to summary |
|---|---|
| private DirectedMultiNetworkConnections(Map<E, N> inEdges, Map<E, N> outEdges, int selfLoopCount) | |
| addInEdge | back to summary |
|---|---|
| public void addInEdge(E edge, N node, boolean isSelfLoop) Overrides com. Implements com. Doc from com. Add
| |
| addOutEdge | back to summary |
|---|---|
| public void addOutEdge(E edge, N node) Overrides com. Implements com. Doc from com. Add
| |
| edgesConnecting | back to summary |
|---|---|
| public Set Implements com. Doc from com. Returns the set of edges connecting the origin node to
| |
| getReference | back to summary |
|---|---|
private static <T> T getReference(Reference<T> reference)
| |
| of | back to summary |
|---|---|
| pack-priv static <N, E> DirectedMultiNetworkConnections | |
| ofImmutable | back to summary |
|---|---|
| pack-priv static <N, E> DirectedMultiNetworkConnections | |
| predecessors | back to summary |
|---|---|
| public Set Implements com.
| |
| predecessorsMultiset | back to summary |
|---|---|
| private Multiset | |
| removeInEdge | back to summary |
|---|---|
| public N removeInEdge(E edge, boolean isSelfLoop) Overrides com. Implements com. Doc from com. Remove In the undirected case, returns
| |
| removeOutEdge | back to summary |
|---|---|
| public N removeOutEdge(E edge) Overrides com. Implements com. Doc from com. Remove
| |
| successors | back to summary |
|---|---|
| public Set Implements com.
| |
| successorsMultiset | back to summary |
|---|---|
| private Multiset | |