suite_bbob.c File Reference

Implementation of the bbob suite containing 24 noiseless single-objective functions in 6 dimensions. More...

#include "coco.h"
#include "f_attractive_sector.c"
#include "f_bent_cigar.c"
#include "f_bueche_rastrigin.c"
#include "f_different_powers.c"
#include "f_discus.c"
#include "f_ellipsoid.c"
#include "f_gallagher.c"
#include "f_griewank_rosenbrock.c"
#include "f_katsuura.c"
#include "f_linear_slope.c"
#include "f_lunacek_bi_rastrigin.c"
#include "f_rastrigin.c"
#include "f_rosenbrock.c"
#include "f_schaffers.c"
#include "f_schwefel.c"
#include "f_sharp_ridge.c"
#include "f_sphere.c"
#include "f_step_ellipsoid.c"
#include "f_weierstrass.c"

Functions

static coco_suite_tcoco_suite_allocate (const char *suite_name, const size_t number_of_functions, const size_t number_of_dimensions, const size_t *dimensions, const char *default_instances)
 
static coco_suite_tsuite_bbob_initialize (void)
 Sets the dimensions and default instances for the bbob suite. More...
 
static const char * suite_bbob_get_instances_by_year (const int year)
 Sets the instances associated with years for the bbob suite. More...
 
static coco_problem_tcoco_get_bbob_problem (const size_t function, const size_t dimension, const size_t instance)
 Creates and returns a BBOB problem without needing the actual bbob suite. More...
 
static coco_problem_tsuite_bbob_get_problem (coco_suite_t *suite, const size_t function_idx, const size_t dimension_idx, const size_t instance_idx)
 Returns the problem from the bbob suite that corresponds to the given parameters. More...
 

Detailed Description

Implementation of the bbob suite containing 24 noiseless single-objective functions in 6 dimensions.

Function Documentation

static coco_problem_t* coco_get_bbob_problem ( const size_t  function,
const size_t  dimension,
const size_t  instance 
)
static

Creates and returns a BBOB problem without needing the actual bbob suite.

Useful for other suites as well (see for example suite_biobj.c).

static coco_suite_t* coco_suite_allocate ( const char *  suite_name,
const size_t  number_of_functions,
const size_t  number_of_dimensions,
const size_t *  dimensions,
const char *  default_instances 
)
static
static const char* suite_bbob_get_instances_by_year ( const int  year)
static

Sets the instances associated with years for the bbob suite.

static coco_problem_t* suite_bbob_get_problem ( coco_suite_t suite,
const size_t  function_idx,
const size_t  dimension_idx,
const size_t  instance_idx 
)
static

Returns the problem from the bbob suite that corresponds to the given parameters.

Parameters
suiteThe COCO suite.
function_idxIndex of the function (starting from 0).
dimension_idxIndex of the dimension (starting from 0).
instance_idxIndex of the instance (starting from 0).
Returns
The problem that corresponds to the given parameters.
static coco_suite_t* suite_bbob_initialize ( void  )
static

Sets the dimensions and default instances for the bbob suite.