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