Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Encodings/ValueConfigurations/RootValueConfiguration.cs @ 4982

Last change on this file since 4982 was 4982, checked in by cneumuel, 13 years ago

#1215 worked on metaoptimization

File size: 763 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using HeuristicLab.Core;
6using HeuristicLab.Common;
7
8namespace HeuristicLab.Problems.MetaOptimization {
9  // todo: storable, name, descr, ...
10  public class RootValueConfiguration : ValueConfiguration {
11
12    public RootValueConfiguration(IItem value, Type valueDataType) : base(value, valueDataType) {
13      this.Optimize = true; // root must always be optimized
14    }
15    public RootValueConfiguration() { }
16    protected RootValueConfiguration(RootValueConfiguration original, Cloner cloner) : base(original, cloner) {
17    }
18    public override IDeepCloneable Clone(Cloner cloner) {
19      return new RootValueConfiguration(this, cloner);
20    }
21  }
22}
Note: See TracBrowser for help on using the repository browser.