|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jgrapht.graph.AbstractGraph<V,E> org.jgrapht.graph.AbstractBaseGraph<V,E> org.jgrapht.graph.SimpleDirectedGraph<FlowStep<Config>,Integer> cascading.flow.planner.FlowStepGraph<Config>
public abstract class FlowStepGraph<Config>
Class StepGraph is an internal representation of FlowStep
instances.
Constructor Summary | |
---|---|
FlowStepGraph()
Constructor StepGraph creates a new StepGraph instance. |
|
FlowStepGraph(String flowName,
ElementGraph elementGraph)
Constructor StepGraph creates a new StepGraph instance. |
Method Summary | |
---|---|
protected abstract FlowStep<Config> |
createFlowStep(String stepName,
int stepNum)
|
protected FlowStep<Config> |
getCreateFlowStep(Map<Tap,FlowStep<Config>> steps,
Tap sink,
int numJobs)
Method getCreateFlowStep ... |
org.jgrapht.traverse.TopologicalOrderIterator<FlowStep<Config>,Integer> |
getTopologicalIterator()
|
protected abstract void |
makeStepGraph(String flowName,
ElementGraph elementGraph)
|
protected boolean |
pathContainsTap(org.jgrapht.GraphPath<FlowElement,Scope> path)
|
protected void |
printElementGraph(String filename)
|
void |
writeDOT(String filename)
Method writeDOT writes this element graph to a DOT file for easy visualization and debugging. |
Methods inherited from class org.jgrapht.graph.AbstractBaseGraph |
---|
addEdge, addEdge, addVertex, clone, containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, incomingEdgesOf, inDegreeOf, isAllowingLoops, isAllowingMultipleEdges, outDegreeOf, outgoingEdgesOf, removeEdge, removeEdge, removeVertex, setEdgeSetFactory, setEdgeWeight, vertexSet |
Methods inherited from class org.jgrapht.graph.AbstractGraph |
---|
assertVertexExist, containsEdge, removeAllEdges, removeAllEdges, removeAllEdges, removeAllVertices, toString, toStringFromSets |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jgrapht.DirectedGraph |
---|
incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf |
Methods inherited from interface org.jgrapht.Graph |
---|
addEdge, addEdge, addVertex, containsEdge, containsEdge, containsVertex, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, vertexSet |
Constructor Detail |
---|
public FlowStepGraph()
public FlowStepGraph(String flowName, ElementGraph elementGraph)
elementGraph
- of type ElementGraphMethod Detail |
---|
protected FlowStep<Config> getCreateFlowStep(Map<Tap,FlowStep<Config>> steps, Tap sink, int numJobs)
steps
- of type Mapsink
- of type StringnumJobs
- of type int
protected abstract FlowStep<Config> createFlowStep(String stepName, int stepNum)
protected abstract void makeStepGraph(String flowName, ElementGraph elementGraph)
protected boolean pathContainsTap(org.jgrapht.GraphPath<FlowElement,Scope> path)
public org.jgrapht.traverse.TopologicalOrderIterator<FlowStep<Config>,Integer> getTopologicalIterator()
public void writeDOT(String filename)
filename
- of type Stringprotected void printElementGraph(String filename)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |