Changeset 17901
- Timestamp:
- 03/16/21 14:00:33 (4 years ago)
- Location:
- branches/3076_IA_evaluators_analyzers_reintegration/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4
- Files:
-
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/3076_IA_evaluators_analyzers_reintegration/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression-3.4.csproj
r17892 r17901 165 165 </ItemGroup> 166 166 <ItemGroup> 167 <Compile Include="MultiObjective\NMSEConstraintsEvaluator.cs" /> 167 168 <Compile Include="MultiObjective\PearsonRSquaredNestedTreeSizeEvaluator.cs" /> 168 169 <Compile Include="MultiObjective\PearsonRSquaredNumberOfVariablesEvaluator.cs" /> 169 170 <Compile Include="MultiObjective\PearsonRSquaredAverageSimilarityEvaluator.cs" /> 170 171 <Compile Include="MultiObjective\PearsonRSquaredTreeComplexityEvaluator.cs" /> 171 <Compile Include="MultiObjective\SymbolicRegressionMultiObjectiveMultiSoftConstraintEvaluator.cs" />172 172 <Compile Include="MultiObjective\SymbolicRegressionMultiObjectiveValidationBestSolutionAnalyzer.cs" /> 173 173 <Compile Include="Plugin.cs" /> 174 <Compile Include="ShapeConstraintsAnalyzer.cs" /> 174 175 <Compile Include="SingleObjective\ConstantOptimizationAnalyzer.cs" /> 176 <Compile Include="SingleObjective\Evaluators\NMSEConstraintsEvaluator.cs" /> 175 177 <Compile Include="SingleObjective\Evaluators\SymbolicRegressionMeanRelativeErrorEvaluator.cs" /> 176 <Compile Include="SingleObjective\Evaluators\SymbolicRegressionSingleObjectiveConstraintEvaluator.cs" />177 178 <Compile Include="SingleObjective\SymbolicRegressionSolutionsAnalyzer.cs" /> 178 <Compile Include="SymbolicRegressionConstraintAnalyzer.cs" />179 179 <Compile Include="SymbolicRegressionPhenotypicDiversityAnalyzer.cs" /> 180 180 <Compile Include="SymbolicRegressionPruningAnalyzer.cs" /> -
branches/3076_IA_evaluators_analyzers_reintegration/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/ShapeConstraintsAnalyzer.cs
r17900 r17901 32 32 [StorableType("4318C6BD-E0A1-45FE-AC30-96E7F73B51FB")] 33 33 [Item("Shape-constraints analyser", "Analyzes the number of shape-constraint violations of symbolic regression models.")] 34 public class S ymbolicRegressionConstraintAnalyzer : SymbolicDataAnalysisAnalyzer, ISymbolicExpressionTreeAnalyzer {34 public class ShapeConstraintsAnalyzer : SymbolicDataAnalysisAnalyzer, ISymbolicExpressionTreeAnalyzer { 35 35 private const string ProblemDataParameterName = "ProblemData"; 36 36 private const string ConstraintViolationsParameterName = "ConstraintViolations"; … … 59 59 60 60 [StorableConstructor] 61 protected S ymbolicRegressionConstraintAnalyzer(StorableConstructorFlag _) : base(_) { }61 protected ShapeConstraintsAnalyzer(StorableConstructorFlag _) : base(_) { } 62 62 63 protected S ymbolicRegressionConstraintAnalyzer(SymbolicRegressionConstraintAnalyzer original, Cloner cloner) :63 protected ShapeConstraintsAnalyzer(ShapeConstraintsAnalyzer original, Cloner cloner) : 64 64 base(original, cloner) { } 65 65 66 66 public override IDeepCloneable Clone(Cloner cloner) { 67 return new S ymbolicRegressionConstraintAnalyzer(this, cloner);67 return new ShapeConstraintsAnalyzer(this, cloner); 68 68 } 69 69 70 public S ymbolicRegressionConstraintAnalyzer() {70 public ShapeConstraintsAnalyzer() { 71 71 Parameters.Add(new LookupParameter<IRegressionProblemData>(ProblemDataParameterName, 72 72 "The problem data of the symbolic data analysis problem.")); -
branches/3076_IA_evaluators_analyzers_reintegration/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/SymbolicRegressionSingleObjectiveProblem.cs
r17892 r17901 92 92 } 93 93 94 if (!Operators.OfType<S ymbolicRegressionConstraintAnalyzer>().Any()) {95 Operators.Add(new S ymbolicRegressionConstraintAnalyzer());94 if (!Operators.OfType<ShapeConstraintsAnalyzer>().Any()) { 95 Operators.Add(new ShapeConstraintsAnalyzer()); 96 96 changed = true; 97 97 } … … 118 118 Operators.Add(new SymbolicRegressionSolutionsAnalyzer()); 119 119 Operators.Add(new SymbolicExpressionTreePhenotypicSimilarityCalculator()); 120 Operators.Add(new S ymbolicRegressionConstraintAnalyzer());120 Operators.Add(new ShapeConstraintsAnalyzer()); 121 121 Operators.Add(new SymbolicRegressionPhenotypicDiversityAnalyzer(Operators.OfType<SymbolicExpressionTreePhenotypicSimilarityCalculator>()) { DiversityResultName = "Phenotypic Diversity" }); 122 122 ParameterizeOperators();
Note: See TracChangeset
for help on using the changeset viewer.