Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/ResultCollectionProcessors/RunCollectionSRSolutionLatexFormatter.cs @ 18183

Last change on this file since 18183 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 Latex Formatter")]
9  [StorableType("89EDF59C-1CD6-4314-8504-EB3A28E6B1C3")]
10  public class RunCollectionSRSolutionLatexFormatter : RunCollectionSRSolutionFormatter {
11    protected override ISymbolicExpressionTreeStringFormatter Formatter =>
12      new SymbolicDataAnalysisExpressionLatexFormatter();
13
14    #region Constructors & Cloning
15    [StorableConstructor]
16    protected RunCollectionSRSolutionLatexFormatter(StorableConstructorFlag _) : base(_) { }
17    public RunCollectionSRSolutionLatexFormatter() { Suffix = "Latex"; }
18    public RunCollectionSRSolutionLatexFormatter(RunCollectionSRSolutionLatexFormatter original, Cloner cloner) : base(original, cloner) { }
19
20    public override IDeepCloneable Clone(Cloner cloner) {
21      return new RunCollectionSRSolutionLatexFormatter(this, cloner);
22    }
23    #endregion
24  }
25}
Note: See TracBrowser for help on using the repository browser.