Last change
on this file since 18183 was
18056,
checked in by dpiringe, 3 years ago
|
#3026
- fixed a wrong description for the invert parameter in RunCollectionValueRemover
- fixed the usage of a wrong formatter in RunCollectionSRSolutionGraphVizFormatter
- fixed a bug in ListJsonItem where an empty guid field can cause an exception
- started to rework the RegressionProblemDataConverter -> it causes a bug with the symbol Variable of the TypeCorherentGrammar (maybe more grammars)
- the reasons for the rework: this converter was already the source of some problems in the past; it uses a lot of reflection and dynamic objects -> it is very complicated to read/understand
- added an official description property Description in the metadata part of a template + entry in Constants.cs
|
File size:
1.1 KB
|
Line | |
---|
1 | using HEAL.Attic;
|
---|
2 | using HeuristicLab.Common;
|
---|
3 | using HeuristicLab.Core;
|
---|
4 | using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
|
---|
5 | using HeuristicLab.Problems.DataAnalysis.Symbolic;
|
---|
6 |
|
---|
7 | namespace 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 SymbolicExpressionTreeGraphvizFormatter();
|
---|
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.