Changeset 4916
- Timestamp:
- 11/23/10 20:59:26 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.ExternalEvaluation.GP/3.3/SymbolicExpressionTreeStringConverter.cs
r4907 r4916 30 30 [StorableClass] 31 31 public class SymbolicExpressionTreeStringConverter : SymbolicExpressionTreeConverter { 32 SymbolicExpressionTreeStringFormatter formatter;32 private SymbolicExpressionTreeStringFormatter formatter; 33 33 34 34 [StorableConstructor] 35 protected SymbolicExpressionTreeStringConverter(bool deserializing) 36 : base(deserializing) { 37 Initialize(); 38 } 35 protected SymbolicExpressionTreeStringConverter(bool deserializing) : base(deserializing) { } 39 36 protected SymbolicExpressionTreeStringConverter(SymbolicExpressionTreeStringConverter original, Cloner cloner) 40 37 : base(original, cloner) { 41 Initialize(); 38 formatter = new SymbolicExpressionTreeStringFormatter(); 39 formatter.Indent = original.formatter.Indent; 42 40 } 43 41 public SymbolicExpressionTreeStringConverter() … … 48 46 public override IDeepCloneable Clone(Cloner cloner) { 49 47 return new SymbolicExpressionTreeStringConverter(this, cloner); 48 } 49 50 [StorableHook(HookType.AfterDeserialization)] 51 private void AfterDeserialization() { 52 Initialize(); 50 53 } 51 54
Note: See TracChangeset
for help on using the changeset viewer.