Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/29/10 18:58:23 (14 years ago)
Author:
swagner
Message:

Finished cloning refactoring of HeuristicLab.SequentialEngine and HeuristicLab.Random (#922)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/CloningRefactoring/HeuristicLab.SequentialEngine/3.3/SequentialEngine.cs

    r4477 r4675  
    2121
    2222using System;
     23using HeuristicLab.Common;
    2324using HeuristicLab.Core;
    2425using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     
    3334  public class SequentialEngine : Engine {
    3435    private IOperator currentOperator;
     36
     37    [StorableConstructor]
     38    protected SequentialEngine(bool deserializing) : base(deserializing) { }
     39    protected SequentialEngine(SequentialEngine original, Cloner cloner) : base(original, cloner) { }
     40    public SequentialEngine() : base() { }
     41
     42    public override IDeepCloneable Clone(Cloner cloner) {
     43      return new SequentialEngine(this, cloner);
     44    }
    3545
    3646    /// <summary>
Note: See TracChangeset for help on using the changeset viewer.