suite_cons_bbob.c File Reference

Implementation of the constrained bbob suite containing 48 constrained problems in 6 dimensions. See comments in "suite_cons_bbob_problems.c" for more details. More...

#include "coco.h"
#include "suite_cons_bbob_problems.c"
#include "transform_obj_scale.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_cons_bbob_initialize (void)
 Sets the dimensions and default instances for the bbob suite. More...
 
static const char * suite_cons_bbob_get_instances_by_year (const int year)
 Sets the instances associated with years for the constrained bbob suite. More...
 
static coco_problem_tcoco_get_cons_bbob_problem (const size_t function, const size_t dimension, const size_t instance)
 Creates and returns a constrained BBOB problem. More...
 
static coco_problem_tsuite_cons_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 constrained bbob suite that corresponds to the given parameters. More...
 

Detailed Description

Implementation of the constrained bbob suite containing 48 constrained problems in 6 dimensions. See comments in "suite_cons_bbob_problems.c" for more details.

Function Documentation

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

Creates and returns a constrained BBOB problem.

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_cons_bbob_get_instances_by_year ( const int  year)
static

Sets the instances associated with years for the constrained bbob suite.

static coco_problem_t* suite_cons_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 constrained 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_cons_bbob_initialize ( void  )
static

Sets the dimensions and default instances for the bbob suite.