Changeset 14818 for branches/EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/InfillCriteria/ExpectedQuality.cs
- Timestamp:
- 04/04/17 12:37:52 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/EfficientGlobalOptimization/HeuristicLab.Algorithms.EGO/InfillCriteria/ExpectedQuality.cs
r14741 r14818 24 24 using HeuristicLab.Encodings.RealVectorEncoding; 25 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using HeuristicLab.Problems.DataAnalysis;27 26 28 27 // ReSharper disable once CheckNamespace … … 42 41 #endregion 43 42 44 public override double Evaluate(IRegressionSolution solution, RealVector vector, bool maximization) { 45 return solution.Model.GetEstimation(vector); 43 public override double Evaluate(RealVector vector) { 44 return RegressionSolution.Model.GetEstimation(vector); 45 } 46 47 public override bool Maximization() { 48 return ExpensiveMaximization; 49 } 50 51 protected override void Initialize() { 46 52 } 47 53 }
Note: See TracChangeset
for help on using the changeset viewer.