Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/22/10 11:09:28 (14 years ago)
Author:
gkronber
Message:

Added string formatters for GraphViz and LaTex formats.
Set svn:ignore properties. #1270

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  
        11HeuristicLabProblemsDataAnalysisPlugin.cs
         2bin
         3*.user
         4obj
  • branches/DataAnalysis.Extensions/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/Formatters/SymbolicExpressionTreeGraphvizFormatter.cs

    r4878 r4900  
    2424using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    2525using System.Collections.Generic;
     26using HeuristicLab.Core;
     27using HeuristicLab.Common;
    2628
    27 namespace HeuristicLab.Problems.DataAnalysis.Views.Symbolic {
     29namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Formatters {
    2830  [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 {
    3033    [Storable]
    3134    public bool Indent { get; set; }
     
    5558
    5659
     60    [StorableConstructor]
     61    private SymbolicExpressionTreeGraphvizFormatter(bool deserializing) : base(deserializing) { }
    5762    public SymbolicExpressionTreeGraphvizFormatter()
    58       : base() {
     63      : base("SymbolicExpressionTreeLatexFormatter", "Formatter for symbolic expression trees for import into LaTeX documents.") {
    5964      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);
    6073    }
    6174
Note: See TracChangeset for help on using the changeset viewer.