ix.iplan
Class ExecutionStages
java.lang.Object
  
ix.iplan.ExecutionStages
public class ExecutionStages
- extends java.lang.Object
 
Sorts node-ends into execution-stages.
 
Each "stage" is a list of node-ends that could execute at the
 same time (as each other).  The stages are returned as a list,
 in the order in which they would have to execute.
 It's assumed that a node-end can execute at its earliest
 start time, provided that all the node ends linked before
 it have executed.
 Note that the stages are not derermined solely by the times
 calculated by the TPN, because links are also taken into account.
 There can therefore be more than one stage with the same
 numeric start time.
 Use:
 
   List ends = ...
   List> stages = new ExecutionStages(ends).getStages();
 
| 
Field Summary | 
protected  java.util.List<java.util.List<PNodeEnd>> | 
stages
 
            | 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
stages
protected java.util.List<java.util.List<PNodeEnd>> stages
ExecutionStages
public ExecutionStages(java.util.List<PNodeEnd> ends)
getStages
public java.util.List<java.util.List<PNodeEnd>> getStages()
 
makeExecutionStages
protected java.util.List<java.util.List<PNodeEnd>> makeExecutionStages(java.util.List<PNodeEnd> ends)
 
sortByEst
protected void sortByEst(java.util.List<PNodeEnd> ends)
 
main
public static void main(java.lang.String[] argv)
- Test program.