Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/29/10 18:28:23 (14 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/RandomSelector.cs

    r4477 r4670  
    2121
    2222using System.Collections.Generic;
     23using HeuristicLab.Common;
    2324using HeuristicLab.Core;
    2425using HeuristicLab.Data;
     
    4647    }
    4748
     49    [StorableConstructor]
     50    private RandomSelector(bool deserializing) : base(deserializing) { }
     51    private RandomSelector(RandomSelector original, Cloner cloner)
     52      : base(original, cloner) {
     53    }
     54    public override IDeepCloneable Clone(Cloner cloner) {
     55      return new RandomSelector(this, cloner);
     56    }
    4857    public RandomSelector()
    4958      : base() {
Note: See TracChangeset for help on using the changeset viewer.