Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/29/10 17:43:17 (14 years ago)
Author:
mkommend
Message:

Refactored Algorithms.* and fixed BoolValue (ticket #922).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/CloningRefactoring/HeuristicLab.Algorithms.EvolutionStrategy/3.3/WithoutRepeatingBatchedRandomSelector.cs

    r4068 r4669  
    2222using System;
    2323using System.Collections.Generic;
     24using HeuristicLab.Common;
    2425using HeuristicLab.Core;
    2526using HeuristicLab.Data;
     
    4041    public IValueLookupParameter<IntValue> ParentsPerChildParameter {
    4142      get { return (IValueLookupParameter<IntValue>)Parameters["ParentsPerChild"]; }
     43    }
     44
     45    [StorableConstructor]
     46    protected WithoutRepeatingBatchedRandomSelector(bool deserializing) : base(deserializing) { }
     47    protected WithoutRepeatingBatchedRandomSelector(WithoutRepeatingBatchedRandomSelector original, Cloner cloner)
     48      : base(original, cloner) {
     49    }
     50    public override IDeepCloneable Clone(Cloner cloner) {
     51      return new WithoutRepeatingBatchedRandomSelector(this, cloner);
    4252    }
    4353
Note: See TracChangeset for help on using the changeset viewer.