File oracle_functors.hpp

struct OptimizationFunctor
template<typename Point, typename Functor, typename GradFunctor>
struct FunctionFunctor

Public Types

typedef Point::FT NT

Public Functions

inline FunctionFunctor(parameters<NT, Functor, GradFunctor> &params_)
inline NT operator()(Point const &x) const

Public Members

parameters<NT, Functor, GradFunctor> &params
template<typename Point, typename Functor, typename GradFunctor>
struct GradientFunctor

Public Types

typedef Point::FT NT
typedef std::vector<Point> pts

Public Functions

inline GradientFunctor(parameters<NT, Functor, GradFunctor> &params_)
inline Point operator()(unsigned int const &i, pts const &xs, NT const &t) const

Public Members

parameters<NT, Functor, GradFunctor> &params
template<typename NT, typename Functor, typename GradFunctor>
struct parameters

Public Functions

inline parameters(NT T_, unsigned int dim_, Functor f_, GradFunctor neg_grad_f_)
inline void update_temperature(NT k, NT l)

Public Members

NT T
unsigned int dim
Functor f
GradFunctor neg_grad_f
NT L
NT m
NT kappa
unsigned int order
struct IsotropicQuadraticFunctor
template<typename Point>
struct FunctionFunctor

Public Types

typedef Point::FT NT

Public Functions

inline FunctionFunctor(parameters<NT> &params_)
inline NT operator()(Point const &x) const

Public Members

parameters<NT> &params
template<typename Point>
struct GradientFunctor

Public Types

typedef Point::FT NT
typedef std::vector<Point> pts

Public Functions

inline GradientFunctor(parameters<NT> &params_)
inline Point operator()(unsigned int const &i, pts const &xs, NT const &t) const
inline Point operator()(Point const &x)

Public Members

parameters<NT> &params
template<typename NT>
struct parameters

Public Functions

inline parameters()
inline parameters(NT alpha_, unsigned int order_)

Public Members

NT alpha
unsigned int order
NT L
NT m
NT kappa
struct IsotropicLinearFunctor
template<typename Point>
struct FunctionFunctor

Public Types

typedef Point::FT NT

Public Functions

inline FunctionFunctor(parameters<NT> &params_)
inline NT operator()(Point const &x) const

Public Members

parameters<NT> &params
template<typename Point>
struct GradientFunctor

Public Types

typedef Point::FT NT
typedef std::vector<Point> pts

Public Functions

inline GradientFunctor(parameters<NT> &params_)
inline Point operator()(unsigned int const &i, pts const &xs, NT const &t) const

Public Members

parameters<NT> &params
template<typename NT>
struct parameters

Public Functions

inline parameters()
inline parameters(NT alpha_, unsigned int order_)

Public Members

NT alpha
unsigned int order
NT L
NT m
NT kappa
struct ExponentialFunctor
template<typename Point>
struct FunctionFunctor

Public Types

typedef Point::FT NT

Public Functions

inline FunctionFunctor(parameters<NT, Point> &params_)
inline NT operator()(Point const &x) const

Public Members

parameters<NT, Point> &params
template<typename Point>
struct GradientFunctor

Public Types

typedef Point::FT NT
typedef std::vector<Point> pts

Public Functions

inline GradientFunctor(parameters<NT, Point> &params_)
inline Point operator()(unsigned int const &i, pts const &xs, NT const &t) const

Public Members

parameters<NT, Point> &params
template<typename NT, typename Point>
struct parameters

Public Functions

inline parameters(Point c_)
inline parameters(Point c_, NT a_)

Public Members

unsigned int order
NT L
NT m
NT kappa
Point c
NT a
struct GaussianFunctor
template<typename Point>
struct FunctionFunctor

Public Types

typedef Point::FT NT

Public Functions

inline FunctionFunctor(parameters<NT, Point> &params_)
inline NT operator()(Point const &x) const

Public Members

parameters<NT, Point> &params
template<typename Point>
struct GradientFunctor

Public Types

typedef Point::FT NT
typedef std::vector<Point> pts

Public Functions

inline GradientFunctor(parameters<NT, Point> &params_)
inline Point operator()(unsigned int const &i, pts const &xs, NT const &t) const
inline Point operator()(Point const &x)

Public Members

parameters<NT, Point> &params
template<typename Point>
struct HessianFunctor

Public Types

typedef Point::FT NT

Public Functions

inline HessianFunctor(parameters<NT, Point> &params_)
inline Point operator()(Point const &x) const

Public Members

parameters<NT, Point> &params
template<typename NT, typename Point>
struct parameters

Public Functions

inline parameters(Point x0_, NT a_, NT eta_)

Public Members

Point x0
NT a
NT eta
unsigned int order
NT L
NT m
NT kappa
struct NonSphericalGaussianFunctor
template<typename Point>
struct FunctionFunctor

Public Types

typedef Point::FT NT

Public Functions

inline FunctionFunctor(parameters<NT, Point> &params_)
inline NT operator()(Point const &x) const

Public Members

parameters<NT, Point> &params
template<typename Point>
struct GradientFunctor

Public Types

typedef Point::FT NT
typedef std::vector<Point> pts

Public Functions

inline GradientFunctor(parameters<NT, Point> &params_)
inline Point operator()(unsigned int const &i, pts const &xs, NT const &t) const
inline Point operator()(Point const &x)

Public Members

parameters<NT, Point> &params
template<typename Point>
struct HessianFunctor

Public Types

typedef Point::FT NT

Public Functions

inline HessianFunctor(parameters<NT, Point> &params_)
inline Point operator()(Point const &x) const

Public Members

parameters<NT, Point> &params
template<typename NT, typename Point>
struct parameters

Public Functions

inline parameters(Point x0_, NT a_, NT eta_, Eigen::Matrix<NT, Eigen::Dynamic, Eigen::Dynamic> inv_covariance_matrix_)

Public Members

Point x0
NT a
NT eta
unsigned int order
NT L
NT m
NT kappa
Eigen::Matrix<NT, Eigen::Dynamic, Eigen::Dynamic> inv_covariance_matrix