public class FlowElementGraph extends ElementDirectedGraph implements AnnotatedGraph
Modifier and Type | Field and Description |
---|---|
protected Map<String,Tap> |
checkpoints
Field checkpoints
|
protected PlatformInfo |
platformInfo
Field platformInfo
|
protected Map<String,Tap> |
sinks
Field sinks
|
protected Map<String,Tap> |
sources
Field sources
|
protected Map<String,Tap> |
traps
Field traps
|
annotations
graph, NULL
Modifier | Constructor and Description |
---|---|
protected |
FlowElementGraph() |
|
FlowElementGraph(FlowElementGraph flowElementGraph) |
|
FlowElementGraph(Pipe[] pipes,
Map<String,Tap> sources,
Map<String,Tap> sinks) |
|
FlowElementGraph(PlatformInfo platformInfo,
Pipe[] pipes,
Map<String,Tap> sources,
Map<String,Tap> sinks,
Map<String,Tap> traps,
Map<String,Tap> checkpoints,
boolean requireUniqueCheckpoints)
Constructor ElementGraph creates a new ElementGraph instance.
|
Modifier and Type | Method and Description |
---|---|
ElementGraph |
copyElementGraph() |
Map<String,Tap> |
getCheckpointsMap() |
org.jgrapht.traverse.DepthFirstIterator<FlowElement,Scope> |
getDepthFirstIterator()
Method getDepthFirstIterator returns the depthFirstIterator of this ElementGraph object.
|
Map<String,Tap> |
getSinkMap() |
Collection<Tap> |
getSinks() |
Map<String,Tap> |
getSourceMap() |
Collection<Tap> |
getSources() |
org.jgrapht.traverse.TopologicalOrderIterator<FlowElement,Scope> |
getTopologicalIterator()
Method getTopologicalIterator returns the topologicalIterator of this ElementGraph object.
|
Map<String,Tap> |
getTrapMap() |
Collection<Tap> |
getTraps() |
protected void |
initialize(Map<String,Tap> sources,
Map<String,Tap> sinks,
Pipe... tails) |
boolean |
isResolved() |
void |
setResolved(boolean resolved) |
protected FlowElementGraph |
shallowCopyElementGraph() |
void |
writeDOT(String filename)
Method writeDOT writes this element graph to a DOT file for easy visualization and debugging.
|
addParentAnnotations, getAnnotations, hasAnnotations, hashCode
addEdge, addEdge, addHeadVertex, addTailVertex, addVertex, containsEdge, containsEdge, containsVertex, copyFrom, edgeSet, edgesOf, equals, getAllEdges, getEdge, getEdgeSource, getEdgeTarget, incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf, predecessorListOf, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, successorListOf, vertexSet, vertexSetCopy
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getAnnotations, hasAnnotations
protected PlatformInfo platformInfo
protected Map<String,Tap> checkpoints
protected FlowElementGraph()
public FlowElementGraph(FlowElementGraph flowElementGraph)
public FlowElementGraph(Pipe[] pipes, Map<String,Tap> sources, Map<String,Tap> sinks)
public FlowElementGraph(PlatformInfo platformInfo, Pipe[] pipes, Map<String,Tap> sources, Map<String,Tap> sinks, Map<String,Tap> traps, Map<String,Tap> checkpoints, boolean requireUniqueCheckpoints)
pipes
- of type Pipe[]sources
- of type Mapsinks
- of type Mappublic Map<String,Tap> getSourceMap()
public Map<String,Tap> getSinkMap()
public Map<String,Tap> getTrapMap()
public Map<String,Tap> getCheckpointsMap()
public Collection<Tap> getSources()
public Collection<Tap> getSinks()
public Collection<Tap> getTraps()
protected FlowElementGraph shallowCopyElementGraph()
public boolean isResolved()
public void setResolved(boolean resolved)
public org.jgrapht.traverse.TopologicalOrderIterator<FlowElement,Scope> getTopologicalIterator()
public org.jgrapht.traverse.DepthFirstIterator<FlowElement,Scope> getDepthFirstIterator()
public void writeDOT(String filename)
writeDOT
in interface ElementGraph
writeDOT
in class BaseElementGraph
filename
- of type Stringpublic ElementGraph copyElementGraph()
copyElementGraph
in interface ElementGraph
copyElementGraph
in class ElementDirectedGraph
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.