Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using HeuristicLab.Core;
|
---|
6 | using HeuristicLab.Common;
|
---|
7 |
|
---|
8 | namespace 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.