Free cookie consent management tool by TermsFeed Policy Generator

source: addons/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Encoding/NullValue.cs @ 16574

Last change on this file since 16574 was 16574, checked in by gkronber, 6 years ago

#2520: changed HeuristicLab.MetaOptimization addon to compile with new HL.Persistence

File size: 740 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;
8using HEAL.Attic;
9
10namespace HeuristicLab.Problems.MetaOptimization {
11  [StorableType("EFF4541F-45B2-417D-8742-BDD8477384D7")]
12  public class NullValue : ValueTypeValue<int> {
13
14    public NullValue() { }
15    [StorableConstructor]
16    protected NullValue(StorableConstructorFlag _) : base(_) { }
17    protected NullValue(NullValue original, Cloner cloner)
18      : base(original, cloner) {
19    }
20    public override IDeepCloneable Clone(Cloner cloner) {
21      return new NullValue(this, cloner);
22    }
23  }
24}
Note: See TracBrowser for help on using the repository browser.