Changeset 13527 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Tracking/SchemaDiversification/UpdateQualityOperator.cs
- Timestamp:
- 01/16/16 15:39:03 (8 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Tracking/SchemaDiversification/UpdateQualityOperator.cs
r13526 r13527 31 31 32 32 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 33 [Item("Update EstimatedValuesOperator", "Put the estimated values of the tree in the scope to be used by the phenotypic similarity calculator")]33 [Item("UpdateQualityOperator", "Put the estimated values of the tree in the scope to be used by the phenotypic similarity calculator")] 34 34 [StorableClass] 35 public class Update EstimatedValuesOperator : EvolutionTrackingOperator<ISymbolicExpressionTree> {35 public class UpdateQualityOperator : EvolutionTrackingOperator<ISymbolicExpressionTree> { 36 36 private const string ProblemDataParameterName = "ProblemData"; 37 37 private const string InterpreterParameterName = "SymbolicExpressionTreeInterpreter"; … … 56 56 } 57 57 58 public Update EstimatedValuesOperator() {58 public UpdateQualityOperator() { 59 59 Parameters.Add(new LookupParameter<IRegressionProblemData>(ProblemDataParameterName)); 60 60 Parameters.Add(new LookupParameter<ISymbolicDataAnalysisExpressionTreeInterpreter>(InterpreterParameterName)); … … 65 65 66 66 [StorableConstructor] 67 protected Update EstimatedValuesOperator(bool deserializing) : base(deserializing) { }67 protected UpdateQualityOperator(bool deserializing) : base(deserializing) { } 68 68 69 protected Update EstimatedValuesOperator(UpdateEstimatedValuesOperator original, Cloner cloner) : base(original, cloner) {69 protected UpdateQualityOperator(UpdateQualityOperator original, Cloner cloner) : base(original, cloner) { 70 70 } 71 71 72 72 public override IDeepCloneable Clone(Cloner cloner) { 73 return new Update EstimatedValuesOperator(this, cloner);73 return new UpdateQualityOperator(this, cloner); 74 74 } 75 75 … … 110 110 111 111 ((DoubleValue)variables["Quality"].Value).Value = r2; 112 GenealogyGraph.GetByContent(tree).Quality = r2; 112 113 113 114 var scaleEstimatedValues = ScaleEstimatedValuesParameter.ActualValue;
Note: See TracChangeset
for help on using the changeset viewer.