suite_toy.c File Reference

Implementation of a toy suite containing 6 noiseless "basic" single-objective functions in 5 dimensions. More...

#include "coco_problem.c"
#include "f_bueche_rastrigin.c"
#include "f_ellipsoid.c"
#include "f_linear_slope.c"
#include "f_rastrigin.c"
#include "f_rosenbrock.c"
#include "f_sphere.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_toy_initialize (void)
 Sets the dimensions and default instances for the toy suite. More...
 
static coco_problem_tsuite_toy_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 toy suite that corresponds to the given parameters. More...
 

Detailed Description

Implementation of a toy suite containing 6 noiseless "basic" single-objective functions in 5 dimensions.

Function Documentation

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 coco_problem_t* suite_toy_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 toy 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_toy_initialize ( void  )
static

Sets the dimensions and default instances for the toy suite.