Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/18/11 11:32:25 (14 years ago)
Author:
mkommend
Message:

#1418: Fixed compilation errors in Problems.DataAnalysis.*.

Location:
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/MultiObjective
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/MultiObjective/SymbolicRegressionMultiObjectiveMeanSquaredErrorTreeSizeEvaluator.cs

    r5505 r5514  
    4242    public SymbolicRegressionMultiObjectiveMeanSquaredErrorSolutionSizeEvaluator() : base() { }
    4343
     44    public override IEnumerable<bool> Maximization { get { return new bool[2] { false, false }; } }
     45
    4446    public override Core.IOperation Apply() {
    4547      IEnumerable<int> rows = GenerateRowsToEvaluate();
    46       double[] qualities = Calculate(SymbolicExpressionTreeInterpreterParameter.ActualValue, SymbolicExpressionTreeParameter.ActualValue, LowerEstimationLimit.Value, UpperEstimationLimit.Value, ProblemData, rows);
     48      double[] qualities = Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, SymbolicExpressionTreeParameter.ActualValue, LowerEstimationLimit.Value, UpperEstimationLimit.Value, ProblemData, rows);
    4749      QualitiesParameter.ActualValue = new DoubleArray(qualities);
    4850      return base.Apply();
  • branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/MultiObjective/SymbolicRegressionMultiObjectivePearsonRSquaredTreeSizeEvaluator.cs

    r5505 r5514  
    4242    public SymbolicRegressionMultiObjectivePearsonRSquaredTreeSizeEvaluator() : base() { }
    4343
     44    public override IEnumerable<bool> Maximization { get { return new bool[2] { true, false }; } }
     45
    4446    public override IOperation Apply() {
    4547      IEnumerable<int> rows = GenerateRowsToEvaluate();
    46       double[] qualities = Calculate(SymbolicExpressionTreeInterpreterParameter.ActualValue, SymbolicExpressionTreeParameter.ActualValue, LowerEstimationLimit.Value, UpperEstimationLimit.Value, ProblemData, rows);
     48      double[] qualities = Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, SymbolicExpressionTreeParameter.ActualValue, LowerEstimationLimit.Value, UpperEstimationLimit.Value, ProblemData, rows);
    4749      QualitiesParameter.ActualValue = new DoubleArray(qualities);
    4850      return base.Apply();
Note: See TracChangeset for help on using the changeset viewer.