OPTK  0.1.2
Toolkit for global optimisation algorithms
Public Member Functions | Protected Attributes | List of all members
optk::benchmark Class Referenceabstract

#include <benchmark.hpp>

Inheritance diagram for optk::benchmark:
syn::synthetic syn::ackley1 syn::ackley2 syn::ackley3 syn::bartels_conn syn::beale syn::biggs_exp2 syn::biggs_exp3 syn::biggs_exp4 syn::biggs_exp5 syn::biggs_exp6 syn::bird syn::bohachevsky1 syn::bohachevsky2 syn::bohachevsky3 syn::booth syn::box_betts syn::branin1 syn::branin2 syn::brent syn::brown syn::bukin2 syn::bukin4 syn::bukin6 syn::chung_reynolds syn::cola syn::colville syn::corana syn::cosine_mixture syn::cosine_mixture2 syn::cross_in_tray syn::csendes syn::cube syn::damavandi syn::deckkers_aarts syn::deflected_corrugated_spring syn::devillers_glasser1 syn::devillers_glasser2 syn::dixon_price syn::dolan syn::drop_wave syn::easom syn::egg_crate syn::egg_holder syn::el_attar_vidyasagar_dutta syn::exp2 syn::exponential syn::franke syn::freudenstein_roth syn::gear syn::giunta syn::goldstein_price syn::griewank syn::gulf syn::hansen syn::hartman3 syn::hartman6 syn::helical_valley syn::himmelblau syn::holder_table syn::hosaki syn::jennrich_sampson syn::keane syn::langermann2 syn::langermann5 syn::lennard_jones syn::leon syn::levy13 syn::levy3 syn::levy5 syn::manifoldmin syn::matyas syn::mccormick syn::michalewicz02 syn::michalewicz06 syn::michalewicz12 syn::miele_cantrell syn::mishra01 syn::mishra02 syn::mishra03 syn::mishra04 syn::mishra05 syn::mishra06 syn::mishra08 syn::mishra09 syn::mishra11 syn::mog01 syn::regression

Public Member Functions

 benchmark (const std::string &name)
 
std::string get_name ()
 
virtual sspace::sspace_tget_search_space ()=0
 
virtual double evaluate (inst::set x)=0
 

Protected Attributes

std::string m_name
 

Detailed Description

This is base class which every individual benchmark inherits.

Constructor & Destructor Documentation

◆ benchmark()

optk::benchmark::benchmark ( const std::string &  name)

A minimal constructor for a benchmark

Parameters
nameThe name of this particular benchmark.

Member Function Documentation

◆ evaluate()

virtual double optk::benchmark::evaluate ( inst::set  x)
pure virtual

Evaluate the benchmark (i.e. calculate the value of the objective fuinction) on the provided values.

Parameters
xA vector of double-precision values to evaluate the benchmark at.
Todo:
Verify that a vector of doubles does not constrict the range of benchmark functions which may be evaluated (i.e. as opposed to categorical variables such as strings).

Implemented in syn::mog01, syn::manifoldmin, syn::mishra11, syn::mishra09, syn::mishra08, syn::mishra06, syn::mishra05, syn::mishra04, syn::mishra03, syn::mishra02, syn::mishra01, syn::miele_cantrell, syn::michalewicz12, syn::michalewicz06, syn::michalewicz02, syn::regression, syn::mccormick, syn::matyas, syn::levy13, syn::levy5, syn::levy3, syn::leon, syn::keane, syn::lennard_jones, syn::langermann5, syn::langermann2, syn::jennrich_sampson, syn::hosaki, syn::holder_table, syn::himmelblau, syn::helical_valley, syn::hartman6, syn::hartman3, syn::hansen, syn::gulf, syn::griewank, syn::goldstein_price, syn::giunta, syn::gear, syn::freudenstein_roth, syn::franke, syn::exp2, syn::exponential, syn::el_attar_vidyasagar_dutta, syn::egg_holder, syn::egg_crate, syn::easom, syn::drop_wave, syn::deflected_corrugated_spring, syn::dolan, syn::dixon_price, syn::devillers_glasser2, syn::devillers_glasser1, syn::deckkers_aarts, syn::damavandi, syn::cube, syn::csendes, syn::cross_in_tray, syn::cosine_mixture, syn::cosine_mixture2, syn::corana, syn::colville, syn::cola, syn::chung_reynolds, syn::bukin6, syn::bukin4, syn::bukin2, syn::brown, syn::brent, syn::branin2, syn::branin1, syn::box_betts, syn::booth, syn::bohachevsky3, syn::bohachevsky2, syn::bohachevsky1, syn::bird, syn::biggs_exp6, syn::biggs_exp5, syn::biggs_exp4, syn::biggs_exp3, syn::biggs_exp2, syn::beale, syn::bartels_conn, syn::ackley3, syn::ackley2, and syn::ackley1.

◆ get_name()

std::string optk::benchmark::get_name ( )
Returns
The name of the benchmark

◆ get_search_space()

virtual sspace::sspace_t* optk::benchmark::get_search_space ( )
pure virtual

Get the search (parameter) space specified by the benchmark.

Returns
A pointer to the parameter space.

Implemented in syn::synthetic.


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