public class FlowElementGraph extends ElementMultiGraph implements AnnotatedGraph
ElementMultiGraph.DirectedMultiGraph
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,Tap> |
checkpoints
Field checkpoints
|
protected PlatformInfo |
platformInfo
Field platformInfo
|
protected java.util.Map<java.lang.String,Tap> |
sinks
Field sinks
|
protected java.util.Map<java.lang.String,Tap> |
sources
Field sources
|
protected java.util.Map<java.lang.String,Tap> |
traps
Field traps
|
annotations
graph, NULL
Modifier | Constructor and Description |
---|---|
protected |
FlowElementGraph() |
|
FlowElementGraph(FlowElementGraph flowElementGraph) |
|
FlowElementGraph(Pipe[] pipes,
java.util.Map<java.lang.String,Tap> sources,
java.util.Map<java.lang.String,Tap> sinks) |
|
FlowElementGraph(PlatformInfo platformInfo,
ElementGraph elementGraph,
java.util.Map<java.lang.String,Tap> sources,
java.util.Map<java.lang.String,Tap> sinks,
java.util.Map<java.lang.String,Tap> traps,
java.util.Map<java.lang.String,Tap> checkpoints) |
|
FlowElementGraph(PlatformInfo platformInfo,
Pipe[] pipes,
java.util.Map<java.lang.String,Tap> sources,
java.util.Map<java.lang.String,Tap> sinks,
java.util.Map<java.lang.String,Tap> traps,
java.util.Map<java.lang.String,Tap> checkpoints,
boolean requireUniqueCheckpoints)
Constructor ElementGraph creates a new ElementGraph instance.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
allowMultipleExtentEdges() |
ElementGraph |
copyElementGraph() |
java.util.Map<java.lang.String,Tap> |
getCheckpointsMap() |
org.jgrapht.traverse.DepthFirstIterator<FlowElement,Scope> |
getDepthFirstIterator()
Method getDepthFirstIterator returns the depthFirstIterator of this ElementGraph object.
|
java.util.Map<java.lang.String,Tap> |
getSinkMap() |
java.util.Collection<Tap> |
getSinks() |
java.util.Map<java.lang.String,Tap> |
getSourceMap() |
java.util.Collection<Tap> |
getSources() |
org.jgrapht.traverse.TopologicalOrderIterator<FlowElement,Scope> |
getTopologicalIterator()
Method getTopologicalIterator returns the topologicalIterator of this ElementGraph object.
|
java.util.Map<java.lang.String,Tap> |
getTrapMap() |
java.util.Collection<Tap> |
getTraps() |
protected void |
initialize(java.util.Map<java.lang.String,Tap> sources,
java.util.Map<java.lang.String,Tap> sinks,
Pipe... tails) |
boolean |
isResolved() |
void |
setResolved(boolean resolved) |
protected FlowElementGraph |
shallowCopyElementGraph() |
void |
writeDOT(java.lang.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, bindExtents, 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
addEdge, addEdge, addHeadVertex, addTailVertex, addVertex, bindExtents, containsEdge, containsEdge, containsVertex, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeSource, getEdgeTarget, incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf, predecessorListOf, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, successorListOf, vertexSet, vertexSetCopy
protected PlatformInfo platformInfo
protected java.util.Map<java.lang.String,Tap> checkpoints
protected FlowElementGraph()
public FlowElementGraph(FlowElementGraph flowElementGraph)
public FlowElementGraph(PlatformInfo platformInfo, ElementGraph elementGraph, java.util.Map<java.lang.String,Tap> sources, java.util.Map<java.lang.String,Tap> sinks, java.util.Map<java.lang.String,Tap> traps, java.util.Map<java.lang.String,Tap> checkpoints)
public FlowElementGraph(Pipe[] pipes, java.util.Map<java.lang.String,Tap> sources, java.util.Map<java.lang.String,Tap> sinks)
public FlowElementGraph(PlatformInfo platformInfo, Pipe[] pipes, java.util.Map<java.lang.String,Tap> sources, java.util.Map<java.lang.String,Tap> sinks, java.util.Map<java.lang.String,Tap> traps, java.util.Map<java.lang.String,Tap> checkpoints, boolean requireUniqueCheckpoints)
pipes
- of type Pipe[]sources
- of type Mapsinks
- of type Mappublic java.util.Map<java.lang.String,Tap> getSourceMap()
public java.util.Map<java.lang.String,Tap> getSinkMap()
public java.util.Map<java.lang.String,Tap> getTrapMap()
public java.util.Map<java.lang.String,Tap> getCheckpointsMap()
public java.util.Collection<Tap> getSources()
protected void initialize(java.util.Map<java.lang.String,Tap> sources, java.util.Map<java.lang.String,Tap> sinks, Pipe... tails)
protected FlowElementGraph shallowCopyElementGraph()
public boolean isResolved()
public void setResolved(boolean resolved)
protected boolean allowMultipleExtentEdges()
allowMultipleExtentEdges
in class BaseElementGraph
public org.jgrapht.traverse.TopologicalOrderIterator<FlowElement,Scope> getTopologicalIterator()
public org.jgrapht.traverse.DepthFirstIterator<FlowElement,Scope> getDepthFirstIterator()
public void writeDOT(java.lang.String filename)
writeDOT
in interface ElementGraph
writeDOT
in class BaseElementGraph
filename
- of type Stringpublic ElementGraph copyElementGraph()
copyElementGraph
in interface ElementGraph
copyElementGraph
in class ElementMultiGraph
Copyright © 2007-2015 Xplenty, Inc. All Rights Reserved.