Changeset 122 for branches/XmlTextReaderBranch/HeuristicLab.Scheduling.JSSP
- Timestamp:
- 04/15/08 14:17:26 (17 years ago)
- Location:
- branches/XmlTextReaderBranch/HeuristicLab.Scheduling.JSSP
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/XmlTextReaderBranch/HeuristicLab.Scheduling.JSSP/Schedule.cs
r121 r122 86 86 //} 87 87 public override void Populate(XmlReader reader, IDictionary<Guid, IStorable> restoredObjects) { 88 int machines = int.Parse(reader["Machines"]); 88 89 base.Populate(reader, restoredObjects); 89 int machines = int.Parse(reader["Machines"]);90 90 schedule = new ScheduleTree[machines]; 91 91 for(int i = 0; i < machines; i++) { -
branches/XmlTextReaderBranch/HeuristicLab.Scheduling.JSSP/ScheduleTree.cs
r121 r122 225 225 //} 226 226 public override void Populate(XmlReader reader, IDictionary<Guid, IStorable> restoredObjects) { 227 string[] tokens = reader.ReadString().Split(';'); 227 228 base.Populate(reader, restoredObjects); 228 string[] tokens = reader.ReadString().Split(';');229 229 for(int i = 0; i < tokens.Length - 1; i++) { 230 230 TimeSlot t = new TimeSlot(tokens[i]);
Note: See TracChangeset
for help on using the changeset viewer.