Changeset 385
- Timestamp:
- 07/16/08 12:42:00 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Scheduling.JSSP
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Scheduling.JSSP/ScheduleTree.cs
r371 r385 125 125 } 126 126 127 p rivateint Insert(ScheduleTreeNode slot, Operation op) {127 public int Insert(ScheduleTreeNode slot, Operation op) { 128 128 if (op == null) { 129 129 return -1; … … 177 177 } 178 178 179 public ScheduleTreeNode GetFirst Slot() { // left-most slot179 public ScheduleTreeNode GetFirstNode() { // left-most slot 180 180 ScheduleTreeNode node = root; 181 181 while (node.Left != null) { … … 185 185 } 186 186 187 public ScheduleTreeNode GetLast Slot() { // right-most slot187 public ScheduleTreeNode GetLastNode() { // right-most slot 188 188 ScheduleTreeNode node = root; 189 189 while (node.Right != null) { -
trunk/sources/HeuristicLab.Scheduling.JSSP/TimeSlot.cs
r2 r385 41 41 } 42 42 public Operation operation; 43 public List<TimeSlot> dependentSlots; 44 public TimeSlot parent; 43 45 44 46 public TimeSlot(int start, int end) { … … 47 49 free = end - start; 48 50 maxFreeSlot = end - start; 51 dependentSlots = new List<TimeSlot>(); 49 52 } 50 53 … … 55 58 free = 0; 56 59 maxFreeSlot = 0; 60 dependentSlots = new List<TimeSlot>(); 57 61 } 58 62 … … 72 76 operation = new Operation(job, start, end - start, opIndex, machines, null); 73 77 } 78 dependentSlots = new List<TimeSlot>(); 74 79 } 75 80
Note: See TracChangeset
for help on using the changeset viewer.