Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/29/10 19:47:39 (14 years ago)
Author:
mkommend
Message:

Refactored ExternalEvaluation.* and fixed some errors and warnings (ticket #922).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/CloningRefactoring/HeuristicLab.Problems.ExternalEvaluation.GP/3.3/SymbolicExpressionTreeStringConverter.cs

    r4089 r4682  
    2121
    2222using System;
     23using HeuristicLab.Common;
    2324using HeuristicLab.Core;
    2425using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
     
    3132    SymbolicExpressionTreeStringFormatter formatter;
    3233
    33     public SymbolicExpressionTreeStringConverter() {
     34    [StorableConstructor]
     35    protected SymbolicExpressionTreeStringConverter(bool deserializing) : base(deserializing) { }
     36    protected SymbolicExpressionTreeStringConverter(SymbolicExpressionTreeStringConverter original, Cloner cloner)
     37      : base(original, cloner) {
     38    }
     39    public override IDeepCloneable Clone(Cloner cloner) {
     40      return new SymbolicExpressionTreeStringConverter(this, cloner);
     41    }
     42
     43    public SymbolicExpressionTreeStringConverter()
     44      : base() {
    3445      formatter = new SymbolicExpressionTreeStringFormatter();
    3546      formatter.Indent = false;
Note: See TracChangeset for help on using the changeset viewer.