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

    r4489 r4670  
    2121
    2222using System.Collections.Generic;
     23using HeuristicLab.Common;
    2324using HeuristicLab.Core;
    2425using HeuristicLab.Optimization;
     
    4243  [StorableClass]
    4344  public class RightChildReducer : Reducer, IReducer {
     45    [StorableConstructor]
     46    protected RightChildReducer(bool deserializing) : base(deserializing) { }
     47    protected RightChildReducer(RightChildReducer original, Cloner cloner) : base(original, cloner) { }
     48    public override IDeepCloneable Clone(Cloner cloner) {
     49      return new RightChildReducer(this, cloner);
     50    }
     51    public RightChildReducer() : base() { }
    4452    /// <summary>
    4553    ///  Reduces the sub-scopes, so that the selected sub-scope contains all selected leaves
Note: See TracChangeset for help on using the changeset viewer.