public class SequenceForwardOrder
extends java.lang.Object
Assumptions: - One input node - One output node - No islands - No cycles
| Modifier and Type | Class and Description |
|---|---|
static class |
SequenceForwardOrder.NodeData |
| Constructor and Description |
|---|
SequenceForwardOrder(java.util.List<Node<?,?>> list)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
assignDepth()
Assigns a depth from the input node for all the elements in the graph.
|
protected SequenceForwardOrder.NodeData |
findInput()
Finds the input node.
|
java.util.List<Node<?,?>> |
putIntoForwardOrder()
Orders list to ensure sequential forward ordering of nodes.
|
public SequenceForwardOrder(java.util.List<Node<?,?>> list)
list - Input list, not modified.public java.util.List<Node<?,?>> putIntoForwardOrder()
protected void assignDepth()
protected SequenceForwardOrder.NodeData findInput()