Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Encodings/NullValue.cs @ 5112

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

#1215

  • resolving svn issue
File size: 687 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using HeuristicLab.Data;
6using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
7using HeuristicLab.Common;
8
9namespace HeuristicLab.Problems.MetaOptimization {
10  [StorableClass]
11  public class NullValue : ValueTypeValue<int> {
12
13    public NullValue() { }
14    [StorableConstructor]
15    protected NullValue(bool deserializing) : base(deserializing) { }
16    protected NullValue(NullValue original, Cloner cloner)
17      : base(original, cloner) {
18    }
19    public override IDeepCloneable Clone(Cloner cloner) {
20      return new NullValue(this, cloner);
21    }
22  }
23}
Note: See TracBrowser for help on using the repository browser.