Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/07/16 10:18:05 (8 years ago)
Author:
ascheibe
Message:

#2582 created branch for Hive Web Job Manager

Location:
branches/WebJobManager
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/WebJobManager/HeuristicLab.Problems.Knapsack/3.3/KnapsackSolution.cs

    r12012 r13656  
    2121
    2222using System;
    23 using System.Drawing;
    2423using HeuristicLab.Common;
    2524using HeuristicLab.Core;
     
    3534  [StorableClass]
    3635  public class KnapsackSolution : Item {
    37     public static new Image StaticItemImage {
    38       get { return HeuristicLab.Common.Resources.VSImageLibrary.Image; }
    39     }
     36
    4037
    4138    [Storable]
    4239    private BinaryVector binaryVector;
    43     public BinaryVector BinaryVector {
     40    public BinaryVector BinaryVector
     41    {
    4442      get { return binaryVector; }
    45       set {
     43      set
     44      {
    4645        if (binaryVector != value) {
    4746          if (binaryVector != null) DeregisterBinaryVectorEvents();
     
    5554    [Storable]
    5655    private IntValue capacity;
    57     public IntValue Capacity {
     56    public IntValue Capacity
     57    {
    5858      get { return capacity; }
    59       set {
     59      set
     60      {
    6061        if (capacity != value) {
    6162          if (capacity != null) DeregisterCapacityEvents();
     
    6970    [Storable]
    7071    private IntArray weights;
    71     public IntArray Weights {
     72    public IntArray Weights
     73    {
    7274      get { return weights; }
    73       set {
     75      set
     76      {
    7477        if (weights != value) {
    7578          if (weights != null) DeregisterWeightsEvents();
     
    8386    [Storable]
    8487    private IntArray values;
    85     public IntArray Values {
     88    public IntArray Values
     89    {
    8690      get { return values; }
    87       set {
     91      set
     92      {
    8893        if (values != value) {
    8994          if (values != null) DeregisterValuesEvents();
     
    97102    [Storable]
    98103    private DoubleValue quality;
    99     public DoubleValue Quality {
     104    public DoubleValue Quality
     105    {
    100106      get { return quality; }
    101       set {
     107      set
     108      {
    102109        if (quality != value) {
    103110          if (quality != null) DeregisterQualityEvents();
Note: See TracChangeset for help on using the changeset viewer.