Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/28/11 17:14:43 (13 years ago)
Author:
ascheibe
Message:

#1215 adapted to static item image change and fixed a compiler warning

Location:
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Encoding/Manipulators/ParameterConfigurationAllPositionsManipulator.cs

    r5303 r7242  
    1 using System;
    2 using System.Collections.Generic;
    3 using System.Linq;
    4 using System.Text;
    5 using HeuristicLab.Operators;
    6 using HeuristicLab.Optimization;
     1using HeuristicLab.Common;
    72using HeuristicLab.Core;
    8 using HeuristicLab.Parameters;
    9 using HeuristicLab.Common;
    103using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    11 using HeuristicLab.Data;
    124
    135namespace HeuristicLab.Problems.MetaOptimization {
     
    3123    }
    3224
    33     public static void Apply(IRandom random, IValueConfiguration configuration, IIntValueManipulator intValueManipulator, IDoubleValueManipulator doubleValueManipulator) {
     25    public static new void Apply(IRandom random, IValueConfiguration configuration, IIntValueManipulator intValueManipulator, IDoubleValueManipulator doubleValueManipulator) {
    3426      configuration.Mutate(random, Mutate, intValueManipulator, doubleValueManipulator);
    3527    }
  • branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/TypeValue.cs

    r5313 r7242  
    11using System;
    2 using System.Collections.Generic;
    3 using System.Linq;
    4 using System.Text;
     2using System.Drawing;
     3using HeuristicLab.Common;
    54using HeuristicLab.Core;
    6 using HeuristicLab.Data;
    7 using System.Drawing;
    85using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    9 using HeuristicLab.Common;
    106
    117namespace HeuristicLab.Problems.MetaOptimization {
     
    139  [StorableClass]
    1410  public class TypeValue : Item {
    15     public override Image ItemImage {
     11    public static new Image StaticItemImage {
    1612      get { return HeuristicLab.Common.Resources.VSImageLibrary.Field; }
    1713    }
     
    3632    }
    3733
    38     public TypeValue() : base() {
     34    public TypeValue()
     35      : base() {
    3936      this.readOnly = false;
    4037    }
    41     public TypeValue(Type value) : base() {
     38    public TypeValue(Type value)
     39      : base() {
    4240      this.Value = value;
    4341      this.readOnly = false;
Note: See TracChangeset for help on using the changeset viewer.