Last change
on this file since 14898 was
14897,
checked in by pkimmesw, 8 years ago
|
#2665 Dynamic ErcValues, Separate Push from BenchmarkSuite Push
|
File size:
707 bytes
|
Line | |
---|
1 | namespace HeuristicLab.Problems.ProgramSynthesis.Base.Erc {
|
---|
2 | using HeuristicLab.Common;
|
---|
3 | using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
|
---|
4 |
|
---|
5 | [StorableClass]
|
---|
6 | public abstract class ErcOption<T> : ErcOptionConvertible<T, T> {
|
---|
7 | protected ErcOption() : this(false, new IWeightedErcValueItem<T>[0]) { }
|
---|
8 |
|
---|
9 | protected ErcOption(bool isEnabled, params IWeightedErcValueItem<T>[] values)
|
---|
10 | : base(x => x, isEnabled, values) { }
|
---|
11 |
|
---|
12 | [StorableConstructor]
|
---|
13 | protected ErcOption(bool deserializing)
|
---|
14 | : base(deserializing) {
|
---|
15 | }
|
---|
16 |
|
---|
17 | protected ErcOption(ErcOptionConvertible<T, T> origin, Cloner cloner)
|
---|
18 | : base(origin, cloner) {
|
---|
19 | }
|
---|
20 | }
|
---|
21 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.