Package | Description |
---|---|
org.graphstream.graph.implementations |
Modifier and Type | Class and Description |
---|---|
class |
AdjacencyListNode
Nodes used with
AdjacencyListGraph |
class |
MultiNode
Nodes used with
MultiGraph |
class |
SingleNode
Nodes used with
SingleGraph |
Modifier and Type | Field and Description |
---|---|
protected AbstractNode[] |
AdjacencyListGraph.nodeArray |
protected AbstractNode |
AbstractEdge.source
The source node
|
protected AbstractNode |
AbstractEdge.target
The target node
|
Modifier and Type | Field and Description |
---|---|
protected java.util.HashMap<AbstractNode,SingleNode.TwoEdges> |
SingleNode.neighborMap |
protected java.util.HashMap<AbstractNode,java.util.List<AbstractEdge>> |
MultiNode.neighborMap |
private NodeFactory<? extends AbstractNode> |
AbstractGraph.nodeFactory |
protected java.util.HashMap<java.lang.String,AbstractNode> |
AdjacencyListGraph.nodeMap |
Modifier and Type | Method and Description |
---|---|
protected <T extends Edge> |
AbstractGraph.addEdge_(java.lang.String sourceId,
long timeId,
java.lang.String edgeId,
AbstractNode src,
java.lang.String srcId,
AbstractNode dst,
java.lang.String dstId,
boolean directed) |
protected void |
AdjacencyListGraph.addNodeCallback(AbstractNode node) |
protected abstract void |
AbstractGraph.addNodeCallback(AbstractNode node)
This method is automatically called when a new node is created.
|
private void |
AbstractGraph.removeAllEdges(AbstractNode node) |
protected <T extends Node> |
AbstractGraph.removeNode_(java.lang.String sourceId,
long timeId,
AbstractNode node,
java.lang.String nodeId,
boolean graphCallback) |
protected void |
AbstractGraph.removeNode(AbstractNode node,
boolean graphCallback)
This method is similar to
AbstractGraph.removeNode(Node) but allows to control
if AbstractGraph.removeNodeCallback(AbstractNode) is called or not. |
protected void |
AdjacencyListGraph.removeNodeCallback(AbstractNode node) |
protected abstract void |
AbstractGraph.removeNodeCallback(AbstractNode node)
This method is automatically called when a node is removed.
|
Constructor and Description |
---|
AbstractEdge(java.lang.String id,
AbstractNode source,
AbstractNode target,
boolean directed)
Constructs a new edge.
|