Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/31/11 17:10:15 (13 years ago)
Author:
abeham
Message:

#567

  • updated problem and algorithm
  • reverted plugin wizard
Location:
trunk/tools/Templates/HeuristicLabAlgorithmTemplate
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/Templates/HeuristicLabAlgorithmTemplate/DefaultAlgorithm.cs

    r4187 r5912  
    5858    [StorableConstructor]
    5959    private $safeitemname$(bool deserializing) : base(deserializing) { }
     60    private $safeitemname$($safeitemname$ original, Cloner cloner)
     61      : base(original, cloner) {
     62      // TODO: clone your private fields here
     63      AttachEventHandlers();
     64    }
    6065    public $safeitemname$()
    6166      : base() {
     
    7075      randomCreator.SetSeedRandomlyParameter.ActualName = SetSeedRandomlyParameter.Name;
    7176      randomCreator.SetSeedRandomlyParameter.Value = null;
    72       randomCreator.Successor = null; // TODO:
     77      randomCreator.Successor = null;
    7378
    7479      // TODO: Create further operators and build operator graph
     
    7984
    8085    public override IDeepCloneable Clone(Cloner cloner) {
    81       $safeitemname$ clone = ($safeitemname$)base.Clone(cloner);
    82       // TODO: IMPORTANT! Clone necessary private fields here
    83       clone.AttachEventHandlers();
    84       return clone;
     86      return new $safeitemname$(this, cloner);
    8587    }
    8688
Note: See TracChangeset for help on using the changeset viewer.