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/ProportionalSelector.cs

    r4477 r4670  
    2323using System.Collections.Generic;
    2424using System.Linq;
     25using HeuristicLab.Common;
    2526using HeuristicLab.Core;
    2627using HeuristicLab.Data;
     
    4546    }
    4647
     48    [StorableConstructor]
     49    private ProportionalSelector(bool deserializing) : base(deserializing) { }
     50    private ProportionalSelector(ProportionalSelector original, Cloner cloner)
     51      : base(original, cloner) {
     52    }
     53    public override IDeepCloneable Clone(Cloner cloner) {
     54      return new ProportionalSelector(this, cloner);
     55    }
    4756    public ProportionalSelector()
    4857      : base() {
Note: See TracChangeset for help on using the changeset viewer.