Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2895_PushGP_GenealogyAnalysis/HeuristicLab.Problems.ProgramSynthesis/Push.Base/Erc/Name/NameErcOptions.cs @ 15771

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

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

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