Ignore:
Timestamp:
10/29/10 19:02:32 (9 years ago)
Author:
mkommend
Message:

Refactored ArtificialAntProble (ticket #922).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/CloningRefactoring/HeuristicLab.Problems.ArtificialAnt/3.3/Analyzers/BestAntTrailAnalyzer.cs

    r4068 r4676  
    2121
    2222using System.Linq;
     23using HeuristicLab.Common;
    2324using HeuristicLab.Core;
    2425using HeuristicLab.Data;
     
    6566    }
    6667
     68    [StorableConstructor]
     69    private BestAntTrailAnalyzer(bool deserializing) : base(deserializing) { }
     70    private BestAntTrailAnalyzer(BestAntTrailAnalyzer original, Cloner cloner)
     71      : base(original, cloner) {
     72    }
     73    public override IDeepCloneable Clone(Cloner cloner) {
     74      return new BestAntTrailAnalyzer(this, cloner);
     75    }
     76
    6777    public override IOperation Apply() {
    6878      ItemArray<SymbolicExpressionTree> expressions = SymbolicExpressionTreeParameter.ActualValue;
Note: See TracChangeset for help on using the changeset viewer.