Free cookie consent management tool by TermsFeed Policy Generator

source: branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis.Base/Erc/Boolean/BooleanErcOptions.cs @ 14897

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

#2665 Dynamic ErcValues, Separate Push from BenchmarkSuite Push

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