https://mooseframework.inl.gov
ExpectedImprovementGlobalFit.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
13 
14 // Proposed by by Lam and Notz 2008
16 {
17 public:
20 
21 protected:
22  void computeAcquisitionInternal(std::vector<Real> & acq,
23  const std::vector<Real> & gp_mean,
24  const std::vector<Real> & gp_std,
25  const std::vector<std::vector<Real>> & test_inputs,
26  const std::vector<std::vector<Real>> & train_inputs,
27  const std::vector<Real> & generic) const override;
28 
29 private:
36  static void computeDistance(unsigned int & req_index,
37  const std::vector<Real> & current_input,
38  const std::vector<std::vector<Real>> & train_inputs);
39 };
void computeAcquisitionInternal(std::vector< Real > &acq, const std::vector< Real > &gp_mean, const std::vector< Real > &gp_std, const std::vector< std::vector< Real >> &test_inputs, const std::vector< std::vector< Real >> &train_inputs, const std::vector< Real > &generic) const override
Implementation hook for derived classes (no size checks here).
const InputParameters & parameters() const
All ParallelAcquisition functions should inherit from this class.
ExpectedImprovementGlobalFit(const InputParameters &parameters)
static void computeDistance(unsigned int &req_index, const std::vector< Real > &current_input, const std::vector< std::vector< Real >> &train_inputs)
Compute the Eucleidan distance.