Last change
on this file since 14952 was
14952,
checked in by pkimmesw, 7 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:
1.0 KB
|
Rev | Line | |
---|
[14897] | 1 | namespace HeuristicLab.Problems.ProgramSynthesis.Base.Erc.FloatVector {
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 |
|
---|
| 4 | using HeuristicLab.Common;
|
---|
| 5 | using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
|
---|
| 6 |
|
---|
| 7 | [StorableClass]
|
---|
| 8 | public class FloatVectorErcOptions : ErcOption<IReadOnlyList<double>> {
|
---|
| 9 | public FloatVectorErcOptions() { }
|
---|
[14952] | 10 | public FloatVectorErcOptions(params WeightedErcItem<IReadOnlyList<double>>[] values) : base(true, values) { }
|
---|
[14897] | 11 |
|
---|
[14952] | 12 | public FloatVectorErcOptions(bool isEnabled, params WeightedErcItem<IReadOnlyList<double>>[] values) : base(isEnabled, values) { }
|
---|
[14897] | 13 |
|
---|
| 14 | [StorableConstructor]
|
---|
| 15 | protected FloatVectorErcOptions(bool deserializing) : base(deserializing) { }
|
---|
| 16 |
|
---|
| 17 | public FloatVectorErcOptions(FloatVectorErcOptions origin, Cloner cloner) : base(origin, cloner) { }
|
---|
| 18 |
|
---|
| 19 | public override IDeepCloneable Clone(Cloner cloner) {
|
---|
| 20 | return new FloatVectorErcOptions(this, cloner);
|
---|
| 21 | }
|
---|
[14952] | 22 |
|
---|
| 23 | public override string ToString() {
|
---|
| 24 | return "FloatVector";
|
---|
| 25 | }
|
---|
[14897] | 26 | }
|
---|
| 27 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.