OPTK  0.1.2
Toolkit for global optimisation algorithms
Public Types | Public Member Functions | Static Private Attributes | List of all members
syn::court05 Class Reference
Inheritance diagram for syn::court05:
syn::regression syn::synthetic optk::benchmark

Public Types

enum  { prob = 12, coef = 10 }
 
- Public Types inherited from syn::regression
enum  dist_type : char { one, dist_type::squared, dist_type::inf }
 

Public Member Functions

void kernel (double *xs, double *ret) override
 
- Public Member Functions inherited from syn::regression
 regression (rdims dims, double *e_mat, double *centres, double *coefs, const std::string &n, double fmin, double *minloc)
 
double evaluate (inst::set x) override
 
- Public Member Functions inherited from syn::synthetic
 synthetic (const std::string &n, u_int dims, double lb, double ub, double opt)
 
 synthetic (const std::string &n, u_int dims, double opt)
 
 ~synthetic ()
 
sspace::sspace_tget_search_space ()
 
void set_properties (std::vector< properties > p)
 
std::vector< propertiesget_properties ()
 
inst::set get_opt_param ()
 
double get_opt ()
 
void update_opt (double opt)
 
u_int get_dims ()
 
void validate_param_set (inst::set x)
 
- Public Member Functions inherited from optk::benchmark
 benchmark (const std::string &name)
 
std::string get_name ()
 

Static Private Attributes

static constexpr rdims dims = { .prob = prob, .coef = coef }
 
static constexpr double fmin = -11.89842508364
 
static constexpr double minloc [prob]
 
static constexpr double centres [coef *prob]
 
static constexpr double e_mat [coef *prob]
 
static constexpr double coefs [coef]
 

Additional Inherited Members

- Protected Member Functions inherited from syn::regression
void dist_sq_1 (double *xs, double *ret)
 
void dist_sq_2 (double *xs, double *ret)
 
void dist_sq_inf (double *xs, double *ret)
 
- Protected Member Functions inherited from syn::synthetic
void set_opt_param (inst::set op)
 
- Protected Attributes inherited from syn::synthetic
u_int m_dims
 
double m_lb
 
double m_ub
 
double m_opt
 
std::vector< propertiesm_properties
 
inst::set opt_params
 
sspace::sspace_t m_sspace
 
- Protected Attributes inherited from optk::benchmark
std::string m_name
 

Member Data Documentation

◆ centres

constexpr double syn::court05::centres[coef *prob]
staticprivate
Initial value:
= {
0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.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4 ,0.4 ,0.4 ,
0.08,0.08,0.08,0.08,0.08,0.08,0.08,0.08,0.08,0.08,0.08,0.08,
0.2 ,0.2 ,0.2 ,0.2 ,0.2 ,0.2 ,0.2 ,0.2 ,0.2 ,0.2 ,0.2 ,0.2 ,
0.2 ,0.2 ,0.2 ,0.2 ,0.2 ,0.2 ,0.2 ,0.2 ,0.2 ,0.2 ,0.2 ,0.2 ,
0.4 ,0.4 ,0.4 ,0.4 ,0.4 ,0.4 ,0.4 ,0.4 ,0.4 ,0.4 ,0.4 ,0.4 ,
0.4 ,0.4 ,0.4 ,0.4 ,0.4 ,0.4 ,0.4 ,0.4 ,0.4 ,0.4 ,0.4 ,0.4 }

◆ minloc

constexpr double syn::court05::minloc[prob]
staticprivate
Initial value:
=
{ 0.636, 0.622, 0.39, 0.622, 0.29, 0.047,
0.97, 0.26, 0.311, 0.247, 0.794, 0.189 }

The documentation for this class was generated from the following files: