Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2895_PushGP_GenealogyAnalysis/HeuristicLab.Problems.ProgramSynthesis/Push.Base/Erc/IntegerVector/IntegerVectorErcOptions.cs @ 16321

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

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

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