Line | |
---|
1 | namespace 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.