예제 #1
0
 public PreviousNext(MachineOccupation prev, MachineOccupation next, int index)
 {
     Prev  = prev;
     Next  = next;
     Index = index;
 }
예제 #2
0
 public static Arc BetweenOccupations(MachineOccupation fst, MachineOccupation snd)
 {
     Assert(GraphChecks, fst.MachineId == snd.MachineId);
     return(new Arc(fst.LastOperation + 1, snd.FirstOperation, fst.ReleaseTime, fst.MachineId));
 }