public PreviousNext(MachineOccupation prev, MachineOccupation next, int index) { Prev = prev; Next = next; Index = index; }
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)); }