public class FlowElementGraph extends ElementDirectedGraph implements AnnotatedGraph
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) |
void |
resolveFields()
Method resolveFields performs a breadth first traversal and resolves the tuple fields between each Pipe instance.
|
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, addVertex, containsEdge, containsEdge, containsVertex, edgeSet, edgesOf, equals, getAllEdges, getEdge, getEdgeSource, getEdgeTarget, incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf, predecessorListOf, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, successorListOf, vertexSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getAnnotations, hasAnnotations
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 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 void resolveFields()
public ElementGraph copyElementGraph()
copyElementGraph
in interface ElementGraph
copyElementGraph
in class ElementDirectedGraph
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.