Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/27/10 17:38:55 (14 years ago)
Author:
cneumuel
Message:

implemented basic crossover operator for ParameterSets. MetaOptimization is now functional on a basic level (Configuration and Crossing only works for IntValue Parameters) (#1215)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Creators/RandomParameterSetCreator.cs

    r4516 r4525  
    77using HeuristicLab.Operators;
    88using HeuristicLab.Parameters;
     9using HeuristicLab.Common;
    910
    1011namespace HeuristicLab.Problems.MetaOptimization {
     
    2627    }
    2728
     29    [Storable]
    2830    private ParameterConfigurationList parametersToOptimize;
    2931    public ParameterConfigurationList ParametersToOptimize {
     
    4244      return base.Apply();
    4345    }
     46
     47    #region Cloning
     48    public override IDeepCloneable Clone(Cloner cloner) {
     49      RandomParameterSetCreator clone = (RandomParameterSetCreator) base.Clone(cloner);
     50      clone.parametersToOptimize = (ParameterConfigurationList)this.parametersToOptimize.Clone();
     51      return clone;
     52    }
     53    #endregion
    4454  }
    4555}
Note: See TracChangeset for help on using the changeset viewer.