Changeset 13656 for branches/WebJobManager/HeuristicLab.Problems.Knapsack
- 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.Knapsack/3.3/KnapsackSolution.cs
r12012 r13656 21 21 22 22 using System; 23 using System.Drawing;24 23 using HeuristicLab.Common; 25 24 using HeuristicLab.Core; … … 35 34 [StorableClass] 36 35 public class KnapsackSolution : Item { 37 public static new Image StaticItemImage { 38 get { return HeuristicLab.Common.Resources.VSImageLibrary.Image; } 39 } 36 40 37 41 38 [Storable] 42 39 private BinaryVector binaryVector; 43 public BinaryVector BinaryVector { 40 public BinaryVector BinaryVector 41 { 44 42 get { return binaryVector; } 45 set { 43 set 44 { 46 45 if (binaryVector != value) { 47 46 if (binaryVector != null) DeregisterBinaryVectorEvents(); … … 55 54 [Storable] 56 55 private IntValue capacity; 57 public IntValue Capacity { 56 public IntValue Capacity 57 { 58 58 get { return capacity; } 59 set { 59 set 60 { 60 61 if (capacity != value) { 61 62 if (capacity != null) DeregisterCapacityEvents(); … … 69 70 [Storable] 70 71 private IntArray weights; 71 public IntArray Weights { 72 public IntArray Weights 73 { 72 74 get { return weights; } 73 set { 75 set 76 { 74 77 if (weights != value) { 75 78 if (weights != null) DeregisterWeightsEvents(); … … 83 86 [Storable] 84 87 private IntArray values; 85 public IntArray Values { 88 public IntArray Values 89 { 86 90 get { return values; } 87 set { 91 set 92 { 88 93 if (values != value) { 89 94 if (values != null) DeregisterValuesEvents(); … … 97 102 [Storable] 98 103 private DoubleValue quality; 99 public DoubleValue Quality { 104 public DoubleValue Quality 105 { 100 106 get { return quality; } 101 set { 107 set 108 { 102 109 if (quality != value) { 103 110 if (quality != null) DeregisterQualityEvents();
Note: See TracChangeset
for help on using the changeset viewer.