Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/29/10 18:28:23 (13 years ago)
Author:
mkommend
Message:

Refactored Selection and fixed some errors and warnings (ticket #922).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/CloningRefactoring/HeuristicLab.Selection/3.3/LinearRankSelector.cs

    r4477 r4670  
    2222using System.Collections.Generic;
    2323using System.Linq;
     24using HeuristicLab.Common;
    2425using HeuristicLab.Core;
    2526using HeuristicLab.Data;
     
    3435  [StorableClass]
    3536  public sealed class LinearRankSelector : StochasticSingleObjectiveSelector, ISingleObjectiveSelector {
     37    [StorableConstructor]
     38    private LinearRankSelector(bool deserializing) : base(deserializing) { }
     39    private LinearRankSelector(LinearRankSelector original, Cloner cloner)
     40      : base(original, cloner) {
     41    }
     42    public override IDeepCloneable Clone(Cloner cloner) {
     43      return new LinearRankSelector(this, cloner);
     44    }
    3645    public LinearRankSelector() : base() { }
    3746
Note: See TracChangeset for help on using the changeset viewer.