Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/27/11 23:56:35 (13 years ago)
Author:
cneumuel
Message:

#1215

  • fixed issue with multiple problems (by introducing valuesReadOnly to IOptimizable)
  • fixed error message when removing last problem instance
  • made quality measure name configurable
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Encoding/ValueConfigurations/ValueConfiguration.cs

    r5927 r6489  
    7373    }
    7474
     75    [Storable]
     76    protected bool valuesReadOnly = false;
     77    public virtual bool ValuesReadOnly {
     78      get { return valuesReadOnly; }
     79      set {
     80        if (value != this.valuesReadOnly) {
     81          this.valuesReadOnly = value;
     82        }
     83      }
     84    }
     85
    7586    #region Constructors and Cloning
    7687    public ValueConfiguration(IItem value, Type valueDataType) {
     
    8899      this.optimize = original.optimize;
    89100      this.number = original.number;
     101      this.valuesReadOnly = original.valuesReadOnly;
    90102      RegisterActualValueEvents();
    91103    }
Note: See TracChangeset for help on using the changeset viewer.