Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/16/16 15:39:03 (9 years ago)
Author:
bburlacu
Message:

#1772: Fixed the way operator improvement is calculated so it also works when a diversification strategy is applied (introducing multiple intermediate vertices between parent and child). Minor code refactoring in the diversification operators. Fixed very small typo in the BeforeManipulatorOperator.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Tracking/SchemaDiversification/SchemaCreator.cs

    r13496 r13527  
    111111    #endregion
    112112
    113     private UpdateEstimatedValuesOperator updateEstimatedValuesOperator;
     113    private UpdateQualityOperator updateQualityOperator;
    114114    private DiversificationStatisticsOperator diversificationStatisticsOperator;
    115115
     
    182182
    183183      var updateEstimatedValues = new OperationCollection { Parallel = true };
    184       if (updateEstimatedValuesOperator == null)
    185         updateEstimatedValuesOperator = new UpdateEstimatedValuesOperator();
     184      if (updateQualityOperator == null)
     185        updateQualityOperator = new UpdateQualityOperator();
    186186
    187187      foreach (var s in ExecutionContext.Scope.SubScopes.Where(s => !s.Variables.ContainsKey("EstimatedValues"))) {
    188         updateEstimatedValues.Add(ExecutionContext.CreateChildOperation(updateEstimatedValuesOperator, s));
     188        updateEstimatedValues.Add(ExecutionContext.CreateChildOperation(updateQualityOperator, s));
    189189      }
    190190
Note: See TracChangeset for help on using the changeset viewer.