Changeset 4900 for branches/DataAnalysis.Extensions/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/Formatters/SymbolicExpressionTreeGraphvizFormatter.cs
- Timestamp:
- 11/22/10 11:09:28 (14 years ago)
- Location:
- branches/DataAnalysis.Extensions/HeuristicLab.Problems.DataAnalysis/3.3
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis.Extensions/HeuristicLab.Problems.DataAnalysis/3.3
- Property svn:ignore
-
old new 1 1 HeuristicLabProblemsDataAnalysisPlugin.cs 2 bin 3 *.user 4 obj
-
- Property svn:ignore
-
branches/DataAnalysis.Extensions/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/Formatters/SymbolicExpressionTreeGraphvizFormatter.cs
r4878 r4900 24 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 25 using System.Collections.Generic; 26 using HeuristicLab.Core; 27 using HeuristicLab.Common; 26 28 27 namespace HeuristicLab.Problems.DataAnalysis. Views.Symbolic{29 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Formatters { 28 30 [StorableClass] 29 public class SymbolicExpressionTreeGraphvizFormatter { 31 [Item("SymbolicExpressionTreeGraphvizFormatter", "Formatter for symbolic expression trees for import into GraphViz documents.")] 32 public sealed class SymbolicExpressionTreeGraphvizFormatter : NamedItem, ISymbolicExpressionTreeStringFormatter { 30 33 [Storable] 31 34 public bool Indent { get; set; } … … 55 58 56 59 60 [StorableConstructor] 61 private SymbolicExpressionTreeGraphvizFormatter(bool deserializing) : base(deserializing) { } 57 62 public SymbolicExpressionTreeGraphvizFormatter() 58 : base( ) {63 : base("SymbolicExpressionTreeLatexFormatter", "Formatter for symbolic expression trees for import into LaTeX documents.") { 59 64 Indent = true; 65 } 66 private SymbolicExpressionTreeGraphvizFormatter(SymbolicExpressionTreeGraphvizFormatter original, Cloner cloner) 67 : base(original, cloner) { 68 this.Indent = original.Indent; 69 } 70 71 public override IDeepCloneable Clone(Cloner cloner) { 72 return new SymbolicExpressionTreeGraphvizFormatter(this, cloner); 60 73 } 61 74
Note: See TracChangeset
for help on using the changeset viewer.