public class CompactSimpleBidiGraph<EP> extends AbstractCompactSimpleGraph<CompactBidiEdge<EP>,EP> implements BidirectionalGraph<Integer,CompactBidiEdge<EP>>
SimpleGraph.NormalGraphView<N,G extends SimpleGraph<N>>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)
Retrieves the incoming edges of a given node.
|
protected List<CompactBidiEdge<EP>> |
getInEdgeList(int node) |
int |
getIntSource(CompactBidiEdge<EP> edge) |
Integer |
getSource(CompactBidiEdge<EP> edge)
Retrieves the source node of a given 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, waitasNormalGraph, getVisualizationHelperadjacentTargetsIterator, adjacentTargetsStream, getAdjacentTargets, getEdgesBetween, getOutgoingEdges, getTarget, outgoingEdges, outgoingEdgesIterator, outgoingEdgesStreamgetNodes, iterator, nodeIDs, nodesStream, sizeadjacentTargets, createDynamicNodeMapping, createStaticNodeMapping, isConnectedforEach, spliteratoraddNode, connectpublic CompactSimpleBidiGraph()
public CompactSimpleBidiGraph(int initialCapacity)
public Collection<CompactBidiEdge<EP>> getIncomingEdges(Integer node)
BidirectionalGraphgetIncomingEdges in interface BidirectionalGraph<Integer,CompactBidiEdge<EP>>node - the nodepublic Collection<CompactBidiEdge<EP>> getIncomingEdges(int node)
protected List<CompactBidiEdge<EP>> getInEdgeList(int node)
public Integer getSource(CompactBidiEdge<EP> edge)
BidirectionalGraphgetSource in interface BidirectionalGraph<Integer,CompactBidiEdge<EP>>edge - the edgepublic 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>protected CompactBidiEdge<EP> createEdge(int source, int target, EP property)
createEdge in class AbstractCompactGraph<CompactBidiEdge<EP>,Void,EP>Copyright © 2019. All rights reserved.