Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/20/10 06:18:48 (14 years ago)
Author:
swagner
Message:

Finished first version of TSP tour visualization (#924).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.TSP/3.3/PathTSPTour.cs

    r3133 r3139  
    3939      get { return coordinates; }
    4040      set {
    41         if (value == null) throw new ArgumentNullException();
    4241        if (coordinates != value) {
    4342          if (coordinates != null) DeregisterCoordinatesEvents();
     
    5352      get { return permutation; }
    5453      set {
    55         if (value == null) throw new ArgumentNullException();
    5654        if (permutation != value) {
    5755          if (permutation != null) DeregisterPermutationEvents();
     
    6361    }
    6462
    65     private PathTSPTour() : base() { }
    66     public PathTSPTour(DoubleMatrix coordinates, Permutation permutation)
     63    public PathTSPTour() : base() { }
     64    public PathTSPTour(DoubleMatrix coordinates)
    6765      : base() {
    6866      Coordinates = coordinates;
     67    }
     68    public PathTSPTour(DoubleMatrix coordinates, Permutation permutation)
     69      : this(coordinates) {
    6970      Permutation = permutation;
    7071    }
Note: See TracChangeset for help on using the changeset viewer.