Free cookie consent management tool by TermsFeed Policy Generator

source: branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis.Base/Erc/Char/CharErcOptions.cs @ 14898

Last change on this file since 14898 was 14897, checked in by pkimmesw, 8 years ago

#2665 Dynamic ErcValues, Separate Push from BenchmarkSuite Push

File size: 865 bytes
Line 
1namespace HeuristicLab.Problems.ProgramSynthesis.Base.Erc.Char {
2  using System;
3
4  using Common;
5  using Persistence.Default.CompositeSerializers.Storable;
6
7  [StorableClass]
8  public class CharErcOptions : ErcOptionConvertible<char, int> {
9    public CharErcOptions() : base(Convert.ToChar) { }
10
11    public CharErcOptions(params IWeightedErcValueItem<int>[] values) : this(true, values) { }
12
13    public CharErcOptions(bool isEnabled, params IWeightedErcValueItem<int>[] values) : base(Convert.ToChar, isEnabled, values) { }
14
15    [StorableConstructor]
16    protected CharErcOptions(bool deserializing) : base(deserializing) { }
17
18    public CharErcOptions(CharErcOptions origin, Cloner cloner) : base(origin, cloner) { }
19
20    public override IDeepCloneable Clone(Cloner cloner) {
21      return new CharErcOptions(this, cloner);
22    }
23  }
24}
Note: See TracBrowser for help on using the repository browser.