Changeset 8976


Ignore:
Timestamp:
11/29/12 13:29:45 (10 years ago)
Author:
mkommend
Message:

#1976: Minor code clean up in constant optimization analyzer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/ConstantOptimizationAnalyzer.cs

    r8893 r8976  
    6767      get {
    6868        IResult result;
    69         ResultCollection.TryGetValue("Constant Optimization Improvement", out result);
     69        ResultCollection.TryGetValue(DataTableNameConstantOptimizationImprovement, out result);
    7070        if (result == null) return null;
    7171        return (DataTable)result.Value;
     
    112112
    113113    public override IOperation Apply() {
    114       //code executed for first call of analyzer
     114      //code executed in the first call of analyzer
    115115      if (qualitiesBeforeCoOp == null) {
    116 
    117116        double[] trainingQuality;
    118117        // sort is ascending and we take the first n% => order so that best solutions are smallest
Note: See TracChangeset for help on using the changeset viewer.