Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/17/11 01:04:30 (14 years ago)
Author:
cneumuel
Message:

#1215

  • manipulators for one and all parameters
  • SolutionCache to avoid multiple evaluations of equal solutions
  • RunsAnalyzer which stores all base level runs
  • ItemDictionaryView for runs
File:
1 edited

Legend:

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

    r5277 r5303  
    1414  // todo: item name/descr...
    1515  [StorableClass]
    16   public class ParameterConfigurationManipulator : SingleSuccessorOperator, IParameterConfigurationManipulator, IStochasticOperator {
     16  public abstract class ParameterConfigurationManipulator : SingleSuccessorOperator, IParameterConfigurationManipulator, IStochasticOperator {
    1717    public override bool CanChangeName {
    1818      get { return false; }
     
    4444      : base(original, cloner) {
    4545    }
    46     public override IDeepCloneable Clone(Cloner cloner) {
    47       return new ParameterConfigurationManipulator(this, cloner);
    48     }
    4946
    50     public sealed override IOperation Apply() {
     47    public override IOperation Apply() {
    5148      Apply(RandomParameter.ActualValue, ParameterConfigurationTreeParameter.ActualValue, IntValueManipulatorParameter.ActualValue, DoubleValueManipulatorParameter.ActualValue);
    5249      return base.Apply();
     
    5754    }
    5855
    59     private static void Mutate(IRandom random, IOptimizable configuration, IIntValueManipulator intValueManipulator, IDoubleValueManipulator doubleValueManipulator) {
     56    protected static void Mutate(IRandom random, IOptimizable configuration, IIntValueManipulator intValueManipulator, IDoubleValueManipulator doubleValueManipulator) {
    6057      var vc = configuration as IValueConfiguration;
    6158      var pc = configuration as IParameterConfiguration;
Note: See TracChangeset for help on using the changeset viewer.