Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/29/10 19:31:19 (14 years ago)
Author:
swagner
Message:

Finished cloning refactoring of HeuristicLab.Optimization.Operators (#922)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/CloningRefactoring/HeuristicLab.Optimization.Operators/3.3/QualityComparator.cs

    r4068 r4679  
    2020#endregion
    2121
     22using HeuristicLab.Common;
    2223using HeuristicLab.Core;
    2324using HeuristicLab.Data;
     
    4344    }
    4445
     46    [StorableConstructor]
     47    protected QualityComparator(bool deserializing) : base(deserializing) { }
     48    protected QualityComparator(QualityComparator original, Cloner cloner) : base(original, cloner) { }
    4549    public QualityComparator()
    4650      : base() {
     
    4953      Parameters.Add(new LookupParameter<BoolValue>("Result", "The result of the comparison."));
    5054      Parameters.Add(new ValueLookupParameter<BoolValue>("Maximization", "True if the problem is a maximization problem, otherwise false."));
     55    }
     56
     57    public override IDeepCloneable Clone(Cloner cloner) {
     58      return new QualityComparator(this, cloner);
    5159    }
    5260
Note: See TracChangeset for help on using the changeset viewer.