Changeset 371
- Timestamp:
- 07/08/08 17:53:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Scheduling.JSSP/ScheduleTree.cs
r361 r371 177 177 } 178 178 179 public ScheduleTreeNode GetFirstSlot() { // left-most slot 180 ScheduleTreeNode node = root; 181 while (node.Left != null) { 182 node = node.Left; 183 } 184 return node; 185 } 186 187 public ScheduleTreeNode GetLastSlot() { // right-most slot 188 ScheduleTreeNode node = root; 189 while (node.Right != null) { 190 node = node.Right; 191 } 192 return node; 193 } 194 179 195 public override string ToString() { 180 196 StringBuilder builder = new StringBuilder();
Note: See TracChangeset
for help on using the changeset viewer.