Changeset 17382 for branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/GaussianProcessCovarianceOptimizationProblem.cs
- Timestamp:
- 12/18/19 16:11:21 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/GaussianProcessCovarianceOptimizationProblem.cs
r17320 r17382 198 198 private readonly object syncRoot = new object(); 199 199 // Does not produce the same result for the same seed when using parallel engine (see below)! 200 public override doubleEvaluate(ISymbolicExpressionTree tree, IRandom random, CancellationToken cancellationToken) {200 public override ISingleObjectiveEvaluationResult Evaluate(ISymbolicExpressionTree tree, IRandom random, CancellationToken cancellationToken) { 201 201 var meanFunction = new MeanConst(); 202 202 var problemData = ProblemData; … … 260 260 UpdateBestSoFar(bestObjValue[0], bestHyperParameters, meanFunction, covarianceFunction); 261 261 262 return bestObjValue[0]; 262 var quality = bestObjValue[0]; 263 return new SingleObjectiveEvaluationResult(quality); 263 264 } 264 265
Note: See TracChangeset
for help on using the changeset viewer.