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