Free cookie consent management tool by TermsFeed Policy Generator

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

Refactored ArtificialAntProble (ticket #922).

File:
1 edited

Legend:

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

    r4068 r4676  
    2222
    2323using System.Collections.Generic;
     24using HeuristicLab.Common;
    2425using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    2526using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Symbols;
     
    3637    [StorableConstructor]
    3738    protected ArtificialAntExpressionGrammar(bool deserializing) : base(deserializing) { }
     39    protected ArtificialAntExpressionGrammar(ArtificialAntExpressionGrammar original, Cloner cloner) : base(original, cloner) { }
     40    public override IDeepCloneable Clone(Cloner cloner) {
     41      return new ArtificialAntExpressionGrammar(this, cloner);
     42    }
    3843
    3944    private void Initialize() {
Note: See TracChangeset for help on using the changeset viewer.