- Timestamp:
- 03/07/16 10:18:05 (9 years ago)
- Location:
- branches/WebJobManager
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/WebJobManager/HeuristicLab.Problems.Orienteering/3.3/OrienteeringSolution.cs
r12721 r13656 21 21 22 22 using System; 23 using System.Drawing;24 23 using HeuristicLab.Common; 25 24 using HeuristicLab.Core; … … 32 31 [StorableClass] 33 32 public sealed class OrienteeringSolution : Item { 34 public static new Image StaticItemImage { 35 get { return HeuristicLab.Common.Resources.VSImageLibrary.Image; } 36 } 33 37 34 38 35 [Storable] 39 36 private IntegerVector integerVector; 40 public IntegerVector IntegerVector { 37 public IntegerVector IntegerVector 38 { 41 39 get { return integerVector; } 42 set { 40 set 41 { 43 42 if (integerVector != value) { 44 43 if (integerVector != null) DeregisterIntegerVectorEvents(); … … 51 50 [Storable] 52 51 private DoubleMatrix coordinates; 53 public DoubleMatrix Coordinates { 52 public DoubleMatrix Coordinates 53 { 54 54 get { return coordinates; } 55 set { 55 set 56 { 56 57 if (coordinates != value) { 57 58 if (coordinates != null) DeregisterCoordinatesEvents(); … … 64 65 [Storable] 65 66 private IntValue startingPoint; 66 public IntValue StartingPoint { 67 public IntValue StartingPoint 68 { 67 69 get { return startingPoint; } 68 set { 70 set 71 { 69 72 if (startingPoint != value) { 70 73 if (startingPoint != null) DeregisterStartingPointEvents(); … … 77 80 [Storable] 78 81 private IntValue terminalPoint; 79 public IntValue TerminalPoint { 82 public IntValue TerminalPoint 83 { 80 84 get { return terminalPoint; } 81 set { 85 set 86 { 82 87 if (terminalPoint != value) { 83 88 if (terminalPoint != null) DeregisterTerminalPointEvents(); … … 90 95 [Storable] 91 96 private DoubleArray scores; 92 public DoubleArray Scores { 97 public DoubleArray Scores 98 { 93 99 get { return scores; } 94 set { 100 set 101 { 95 102 if (scores != value) { 96 103 if (scores != null) DeregisterScoresEvents(); … … 103 110 [Storable] 104 111 private DoubleValue quality; 105 public DoubleValue Quality { 112 public DoubleValue Quality 113 { 106 114 get { return quality; } 107 set { 115 set 116 { 108 117 if (quality != value) { 109 118 if (quality != null) DeregisterQualityEvents(); … … 116 125 [Storable] 117 126 private DoubleValue penalty; 118 public DoubleValue Penalty { 127 public DoubleValue Penalty 128 { 119 129 get { return penalty; } 120 set { 130 set 131 { 121 132 if (penalty != value) { 122 133 if (penalty != null) DeregisterPenaltyEvents(); … … 129 140 [Storable] 130 141 private DoubleValue distance; 131 public DoubleValue Distance { 142 public DoubleValue Distance 143 { 132 144 get { return distance; } 133 set { 145 set 146 { 134 147 if (distance != value) { 135 148 if (distance != null) DeregisterDistanceEvents();
Note: See TracChangeset
for help on using the changeset viewer.