Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2895_PushGP_GenealogyAnalysis/HeuristicLab.Problems.ProgramSynthesis/Push.Base/Erc/Float/FloatErcOptions.cs @ 17511

Last change on this file since 17511 was 15771, checked in by bburlacu, 7 years ago

#2895: Add solution skeleton for PushGP with genealogy analysis.

File size: 878 bytes
Line 
1namespace HeuristicLab.Problems.ProgramSynthesis {
2  using HeuristicLab.Common;
3  using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
4
5  [StorableClass]
6  public class FloatErcOptions : ErcOption<double> {
7
8    public FloatErcOptions() { }
9
10    public FloatErcOptions(params WeightedErcItem<double>[] values) : base(true, values) { }
11
12    public FloatErcOptions(bool isEnabled, params WeightedErcItem<double>[] values) : base(isEnabled, values) { }
13
14    [StorableConstructor]
15    public FloatErcOptions(bool deserializing) : base(deserializing) { }
16
17    public FloatErcOptions(FloatErcOptions origin, Cloner cloner) : base(origin, cloner) { }
18
19    public override IDeepCloneable Clone(Cloner cloner) {
20      return new FloatErcOptions(this, cloner);
21    }
22
23    public override string ToString() {
24      return "Float";
25    }
26  }
27}
Note: See TracBrowser for help on using the repository browser.