Free cookie consent management tool by TermsFeed Policy Generator

source: addons/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis.Base/Erc/Name/NameErcOptions.cs @ 15692

Last change on this file since 15692 was 14952, checked in by pkimmesw, 8 years ago

#2665 Added IsNoop to Expression, Made Expressions storable, Fixed Debugger, Fixed and improved problem data and result visualisation, Added custom ErcOption view, Added problem difficulty to problem data name

File size: 852 bytes
Line 
1namespace HeuristicLab.Problems.ProgramSynthesis.Base.Erc.Name {
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.