protected static class AbstractBaseGraph.DirectedEdgeContainer<VV,EE> extends Object implements Serializable
In this edge container we use array lists to minimize memory toll. However, for high-degree vertices we replace the entire edge container with a direct access subclass (to be implemented).
Modifier and Type | Method and Description |
---|---|
void |
addIncomingEdge(EE e)
.
|
void |
addOutgoingEdge(EE e)
.
|
Set<EE> |
getUnmodifiableIncomingEdges()
A lazy build of unmodifiable incoming edge set.
|
Set<EE> |
getUnmodifiableOutgoingEdges()
A lazy build of unmodifiable outgoing edge set.
|
void |
removeIncomingEdge(EE e)
.
|
void |
removeOutgoingEdge(EE e)
.
|
public Set<EE> getUnmodifiableIncomingEdges()
public Set<EE> getUnmodifiableOutgoingEdges()
public void addIncomingEdge(EE e)
e
- public void addOutgoingEdge(EE e)
e
- public void removeIncomingEdge(EE e)
e
- public void removeOutgoingEdge(EE e)
e
- Copyright © 2016. All rights reserved.