Rev | Line | |
---|
[10368] | 1 | using System;
|
---|
| 2 | using HeuristicLab.Common;
|
---|
| 3 | using HeuristicLab.Core;
|
---|
| 4 | using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
|
---|
| 5 | using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
|
---|
| 6 |
|
---|
| 7 | namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Regression {
|
---|
| 8 | [Item("SymbolicRegressionPruningAnalyzer", "An analyzer that prunes introns from the population.")]
|
---|
| 9 | [StorableClass]
|
---|
| 10 | public sealed class SymbolicRegressionPruningAnalyzer : SymbolicDataAnalysisSingleObjectivePruningAnalyzer {
|
---|
[10375] | 11 | private SymbolicRegressionPruningAnalyzer(SymbolicRegressionPruningAnalyzer original, Cloner cloner)
|
---|
[10368] | 12 | : base(original, cloner) {
|
---|
| 13 | }
|
---|
| 14 | public override IDeepCloneable Clone(Cloner cloner) {
|
---|
| 15 | return new SymbolicRegressionPruningAnalyzer(this, cloner);
|
---|
| 16 | }
|
---|
| 17 |
|
---|
[10378] | 18 | [StorableConstructor]
|
---|
| 19 | private SymbolicRegressionPruningAnalyzer(bool deserializing) : base(deserializing) { }
|
---|
| 20 |
|
---|
[10368] | 21 | public SymbolicRegressionPruningAnalyzer() {
|
---|
| 22 | impactValuesCalculator = new SymbolicRegressionSolutionImpactValuesCalculator();
|
---|
| 23 | }
|
---|
| 24 |
|
---|
| 25 | protected override ISymbolicDataAnalysisModel CreateModel(ISymbolicExpressionTree tree,
|
---|
| 26 | ISymbolicDataAnalysisExpressionTreeInterpreter interpreter, double lowerEstimationLimit = Double.MinValue,
|
---|
| 27 | double upperEstimationLimit = Double.MaxValue) {
|
---|
| 28 | return new SymbolicRegressionModel(tree, interpreter, lowerEstimationLimit, upperEstimationLimit);
|
---|
| 29 | }
|
---|
| 30 | }
|
---|
| 31 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.