Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/17/15 15:57:52 (8 years ago)
Author:
mkommend
Message:

#2175: Removed unused features from complexity analysis.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis.ComplexityAnalyzer/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SymbolicRegressionSolution.cs

    r12130 r13221  
    6464    }
    6565
    66     public double ModelComplexity {
    67       get { return ((DoubleValue)this["Complexity"].Value).Value; }
    68       private set { ((DoubleValue)this["Complexity"].Value).Value = value; }
    69     }
    70 
    7166    private ResultCollection EstimationLimitsResultCollection {
    7267      get { return (ResultCollection)this[EstimationLimitsResultsResultName].Value; }
     
    123118      estimationLimitResults.Add(new Result(TestNaNEvaluationsResultName, "", new IntValue()));
    124119      Add(new Result(EstimationLimitsResultsResultName, "Results concerning the estimation limits of symbolic regression solution", estimationLimitResults));
    125       Add(new Result("Complexity", "", new DoubleValue()));
    126120      RecalculateResults();
    127121    }
     
    133127    [StorableHook(HookType.AfterDeserialization)]
    134128    private void AfterDeserialization() {
    135       if (!ContainsKey("Complexity")) Add(new Result("Complexity", "", new DoubleValue()));
    136129      if (!ContainsKey(EstimationLimitsResultsResultName)) {
    137130        ResultCollection estimationLimitResults = new ResultCollection();
     
    156149      ModelLength = Model.SymbolicExpressionTree.Length;
    157150      ModelDepth = Model.SymbolicExpressionTree.Depth;
    158       ModelComplexity = SymbolicDataAnalysisModelComplexityAnalyzer.CalculateComplexity(Model.SymbolicExpressionTree.Root.GetSubtree(0).GetSubtree(0));
    159151
    160152      EstimationLimits.Lower = Model.LowerEstimationLimit;
Note: See TracChangeset for help on using the changeset viewer.