public class CompactSimpleBidiGraph<EP> extends AbstractCompactSimpleGraph<CompactBidiEdge<EP>,EP> implements BidirectionalGraph<Integer,CompactBidiEdge<EP>>
edges, size| Constructor and Description |
|---|
CompactSimpleBidiGraph() |
CompactSimpleBidiGraph(int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
int |
addIntNode(Void properties) |
CompactBidiEdge<EP> |
connect(int source,
int target,
EP property) |
protected CompactBidiEdge<EP> |
createEdge(int source,
int target,
EP property) |
Collection<CompactBidiEdge<EP>> |
getIncomingEdges(int node) |
Collection<CompactBidiEdge<EP>> |
getIncomingEdges(Integer node) |
protected List<CompactBidiEdge<EP>> |
getInEdgeList(int node) |
int |
getIntSource(CompactBidiEdge<EP> edge) |
Integer |
getSource(CompactBidiEdge<EP> edge) |
getNodeProperties, setNodePropertyaddIntNode, addNode, connect, connect, getEdgeProperty, getNode, getNodeId, getNodeProperty, getNodes, getOutEdgeList, getOutgoingEdges, getOutgoingEdges, getTarget, nodeIDs, setEdgeProperty, setNodePropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGraphDOTHelper, getNodes, iterator, nodeIDs, sizecreateDynamicNodeMapping, createStaticNodeMapping, getEdgesBetween, getOutgoingEdges, getTargetforEach, spliteratoraddNode, connectpublic CompactSimpleBidiGraph()
public CompactSimpleBidiGraph(int initialCapacity)
protected List<CompactBidiEdge<EP>> getInEdgeList(int node)
protected CompactBidiEdge<EP> createEdge(int source, int target, EP property)
createEdge in class AbstractCompactGraph<CompactBidiEdge<EP>,Void,EP>public Collection<CompactBidiEdge<EP>> getIncomingEdges(Integer node)
getIncomingEdges in interface BidirectionalGraph<Integer,CompactBidiEdge<EP>>public Collection<CompactBidiEdge<EP>> getIncomingEdges(int node)
public Integer getSource(CompactBidiEdge<EP> edge)
getSource in interface BidirectionalGraph<Integer,CompactBidiEdge<EP>>public int getIntSource(CompactBidiEdge<EP> edge)
public int addIntNode(Void properties)
addIntNode in class AbstractCompactGraph<CompactBidiEdge<EP>,Void,EP>public CompactBidiEdge<EP> connect(int source, int target, EP property)
connect in class AbstractCompactGraph<CompactBidiEdge<EP>,Void,EP>Copyright © 2015. All Rights Reserved.