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:
894 bytes
|
Line | |
---|
1 | namespace HeuristicLab.Problems.ProgramSynthesis.Base.Erc.Float {
|
---|
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.