Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/15/08 14:17:26 (17 years ago)
Author:
gkronber
Message:

bug fixes to make loading of OSGA-TSP work. Some non-working code remains

Location:
branches/XmlTextReaderBranch/HeuristicLab.Scheduling.JSSP
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/XmlTextReaderBranch/HeuristicLab.Scheduling.JSSP/Schedule.cs

    r121 r122  
    8686    //}
    8787    public override void Populate(XmlReader reader, IDictionary<Guid, IStorable> restoredObjects) {
     88      int machines = int.Parse(reader["Machines"]);
    8889      base.Populate(reader, restoredObjects);
    89       int machines = int.Parse(reader["Machines"]);
    9090      schedule = new ScheduleTree[machines];
    9191      for(int i = 0; i < machines; i++) {
  • branches/XmlTextReaderBranch/HeuristicLab.Scheduling.JSSP/ScheduleTree.cs

    r121 r122  
    225225    //}
    226226    public override void Populate(XmlReader reader, IDictionary<Guid, IStorable> restoredObjects) {
     227      string[] tokens = reader.ReadString().Split(';');
    227228      base.Populate(reader, restoredObjects);
    228       string[] tokens = reader.ReadString().Split(';');
    229229      for(int i = 0; i < tokens.Length - 1; i++) {
    230230        TimeSlot t = new TimeSlot(tokens[i]);
Note: See TracChangeset for help on using the changeset viewer.