- Timestamp:
- 10/29/10 19:40:07 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CloningRefactoring/HeuristicLab.Problems.OneMax/3.3/Evaluators/OneMaxEvaluator.cs
r4068 r4681 26 26 using HeuristicLab.Parameters; 27 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 using HeuristicLab.Common; 28 29 29 30 namespace HeuristicLab.Problems.OneMax { … … 42 43 } 43 44 45 [StorableConstructor] 46 protected OneMaxEvaluator(bool deserializing) : base(deserializing) { } 47 protected OneMaxEvaluator(OneMaxEvaluator original, Cloner cloner) : base(original, cloner) { } 44 48 public OneMaxEvaluator() 45 49 : base() { 46 50 Parameters.Add(new LookupParameter<DoubleValue>("Quality", "The evaluated quality of the OneMax solution.")); 47 51 Parameters.Add(new LookupParameter<BinaryVector>("BinaryVector", "The OneMax solution given in path representation which should be evaluated.")); 52 } 53 54 public override IDeepCloneable Clone(Cloner cloner) { 55 return new OneMaxEvaluator(this, cloner); 48 56 } 49 57
Note: See TracChangeset
for help on using the changeset viewer.