Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/18/20 18:55:08 (4 years ago)
Author:
abeham
Message:

#2521: worked on refactoring, worked a lot on binary encoding / problems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.PTSP/3.3/ProbabilisticTSP.cs

    r17533 r17544  
    7070
    7171      ProbabilisticTSPData = new ProbabilisticTSPData();
    72       Encoding.Length = ProbabilisticTSPData.Cities;
    73     }
    74 
    75     protected override void OnEncodingChanged() {
    76       base.OnEncodingChanged();
    77       Encoding.Length = ProbabilisticTSPData.Cities;
     72      Dimension = ProbabilisticTSPData.Cities;
    7873    }
    7974
     
    112107        throw new System.IO.InvalidDataException("The coordinates of the given instance are not in the right format, there need to be one row for each customer and two columns for the x and y coordinates.");
    113108
    114       Encoding.Length = data.Dimension;
     109      Dimension = data.Dimension;
    115110      Name = data.Name;
    116111      Description = data.Description;
Note: See TracChangeset for help on using the changeset viewer.