Free cookie consent management tool by TermsFeed Policy Generator

Changeset 4907 for trunk


Ignore:
Timestamp:
11/23/10 01:42:15 (14 years ago)
Author:
abeham
Message:

#1293

  • Fixed expression tree -> string conversion
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.ExternalEvaluation.GP/3.3/SymbolicExpressionTreeStringConverter.cs

    r4722 r4907  
    3333
    3434    [StorableConstructor]
    35     protected SymbolicExpressionTreeStringConverter(bool deserializing) : base(deserializing) { }
     35    protected SymbolicExpressionTreeStringConverter(bool deserializing)
     36      : base(deserializing) {
     37      Initialize();
     38    }
    3639    protected SymbolicExpressionTreeStringConverter(SymbolicExpressionTreeStringConverter original, Cloner cloner)
    3740      : base(original, cloner) {
     41      Initialize();
    3842    }
     43    public SymbolicExpressionTreeStringConverter()
     44      : base() {
     45      Initialize();
     46    }
     47
    3948    public override IDeepCloneable Clone(Cloner cloner) {
    4049      return new SymbolicExpressionTreeStringConverter(this, cloner);
    4150    }
    4251
    43     public SymbolicExpressionTreeStringConverter()
    44       : base() {
     52    private void Initialize() {
    4553      formatter = new SymbolicExpressionTreeStringFormatter();
    4654      formatter.Indent = false;
Note: See TracChangeset for help on using the changeset viewer.