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/Symbols/Left.cs

    r4477 r4676  
    2020#endregion
    2121
     22using HeuristicLab.Common;
    2223using HeuristicLab.Core;
    2324using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Symbols;
     
    2728  [Item("Left", "Represents the turn-left symbol in a artificial ant expression.")]
    2829  public sealed class Left : Symbol {
     30    [StorableConstructor]
     31    private Left(bool deserializing) : base(deserializing) { }
     32    private Left(Left original, Cloner cloner) : base(original, cloner) { }
     33    public override IDeepCloneable Clone(Cloner cloner) {
     34      return new Left(this, cloner);
     35    }
    2936    public Left() : base("Left", "Represents the turn-left symbol in a artificial ant expression.") { }
    3037  }
Note: See TracChangeset for help on using the changeset viewer.