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_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 coco_suite_t * | suite_toy_initialize (void) |
Sets the dimensions and default instances for the toy suite. More... | |
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) |
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 |
|
static |
Returns the problem from the toy suite that corresponds to the given parameters.
- Parameters
-
suite The COCO suite. function_idx Index of the function (starting from 0). dimension_idx Index of the dimension (starting from 0). instance_idx Index of the instance (starting from 0).
- Returns
- The problem that corresponds to the given parameters.
|
static |
Sets the dimensions and default instances for the toy suite.