Changeset 14905 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis.Base/Erc/ErcOption.cs
- Timestamp:
- 05/02/17 20:42:40 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis.Base/Erc/ErcOption.cs
r14897 r14905 1 1 namespace HeuristicLab.Problems.ProgramSynthesis.Base.Erc { 2 2 using HeuristicLab.Common; 3 using HeuristicLab.Core; 3 4 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 4 5 … … 8 9 9 10 protected ErcOption(bool isEnabled, params IWeightedErcValueItem<T>[] values) 10 : base( x => x,isEnabled, values) { }11 : base(isEnabled, values) { } 11 12 12 13 [StorableConstructor] … … 18 19 : base(origin, cloner) { 19 20 } 21 22 public override T GetErcValue(IRandom random) { 23 return GetErcValue(random, x => x); 24 } 20 25 } 21 26 }
Note: See TracChangeset
for help on using the changeset viewer.