- Timestamp:
- 03/20/10 06:18:48 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.TSP/3.3/PathTSPTour.cs
r3133 r3139 39 39 get { return coordinates; } 40 40 set { 41 if (value == null) throw new ArgumentNullException();42 41 if (coordinates != value) { 43 42 if (coordinates != null) DeregisterCoordinatesEvents(); … … 53 52 get { return permutation; } 54 53 set { 55 if (value == null) throw new ArgumentNullException();56 54 if (permutation != value) { 57 55 if (permutation != null) DeregisterPermutationEvents(); … … 63 61 } 64 62 65 p rivatePathTSPTour() : base() { }66 public PathTSPTour(DoubleMatrix coordinates , Permutation permutation)63 public PathTSPTour() : base() { } 64 public PathTSPTour(DoubleMatrix coordinates) 67 65 : base() { 68 66 Coordinates = coordinates; 67 } 68 public PathTSPTour(DoubleMatrix coordinates, Permutation permutation) 69 : this(coordinates) { 69 70 Permutation = permutation; 70 71 }
Note: See TracChangeset
for help on using the changeset viewer.