public class ModifiedTopologicalSorter extends TopologicalSorter
f_allEdges, f_allNodes, f_backwardsEdges, f_model, f_removedYourEdge, f_selectedNodes, f_sortedNodes
Constructor and Description |
---|
ModifiedTopologicalSorter(AbstractModelAdapter model) |
Modifier and Type | Method and Description |
---|---|
protected void |
breakCycle() |
protected void |
removeOutgoingEdges(NodeInterface n)
removes all outgoing edges of Node n from the list
|
protected void |
reverseEdge(EdgeInterface processEdge,
boolean trace)
reverses the given process edge, and all following edges
up to a gateway.
|
protected void |
selectEndNodes()
puts all nodes into the f_SelectedNodes Nodelist, which
have an OutFlow = 0
|
protected void |
selectStartNodes()
puts all nodes into the f_SelectedNodes Nodelist, which
have an InFlow = 0
|
getInDegree, getModel, getOutDegree, getSortedNodes, initLists, isCyclic, isCyclicR, removeIncomingEdges, restoreEdges, switchEdge
public ModifiedTopologicalSorter(AbstractModelAdapter model)
protected void selectStartNodes()
TopologicalSorterBasis
selectStartNodes
in class TopologicalSorterBasis
protected void selectEndNodes()
TopologicalSorterBasis
selectEndNodes
in class TopologicalSorterBasis
protected void breakCycle()
breakCycle
in class TopologicalSorter
protected void reverseEdge(EdgeInterface processEdge, boolean trace)
processEdge
- protected void removeOutgoingEdges(NodeInterface n)
TopologicalSorterBasis
removeOutgoingEdges
in class TopologicalSorterBasis