Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/ResultCollectionProcessors/RunCollectionSRSolutionGraphVizFormatter.cs @ 18055

Last change on this file since 18055 was 18055, checked in by dpiringe, 3 years ago

#3026

  • added StorableTypeAttribute and StorableConstructorAttribute to all JsonItems
  • added a new JsonItem ListJsonItem + Interfaces IListJsonItem
  • renamed SymRegPythonProcessor to RunCollectionSRSolutionPythonFormatter
  • removed Interface IResultCollectionProcessor -> using the interface IRunCollectionModifier now (has aleady implementations)
  • renamed all related variables/fields/properties with a connection to ResultCollectionProcessor
  • added new implementations for IRunCollectionModifier
File size: 1.1 KB
Line 
1using HEAL.Attic;
2using HeuristicLab.Common;
3using HeuristicLab.Core;
4using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
5using HeuristicLab.Problems.DataAnalysis.Symbolic;
6
7namespace HeuristicLab.JsonInterface {
8  [Item(Name = "RunCollection SymbolicRegressionSolution GraphViz Formatter")]
9  [StorableType("55A9B87B-65AC-4160-ACA0-53FD1EBB1AB7")]
10  public class RunCollectionSRSolutionGraphVizFormatter : RunCollectionSRSolutionFormatter {
11    protected override ISymbolicExpressionTreeStringFormatter Formatter =>
12      new SymbolicDataAnalysisExpressionLatexFormatter();
13
14    #region Constructors & Cloning
15    [StorableConstructor]
16    protected RunCollectionSRSolutionGraphVizFormatter(StorableConstructorFlag _) : base(_) { }
17    public RunCollectionSRSolutionGraphVizFormatter() { Suffix = "GraphViz"; }
18    public RunCollectionSRSolutionGraphVizFormatter(RunCollectionSRSolutionGraphVizFormatter original, Cloner cloner) : base(original, cloner) { }
19
20    public override IDeepCloneable Clone(Cloner cloner) {
21      return new RunCollectionSRSolutionGraphVizFormatter(this, cloner);
22    }
23    #endregion
24  }
25}
Note: See TracBrowser for help on using the repository browser.