f_bueche_rastrigin.c File Reference

Implementation of the Bueche-Rastrigin function and problem. More...

#include <math.h>
#include <assert.h>
#include "coco.h"
#include "coco_problem.c"
#include "suite_bbob_legacy_code.c"
#include "transform_vars_brs.c"
#include "transform_vars_oscillate.c"
#include "transform_vars_shift.c"
#include "transform_obj_shift.c"
#include "transform_obj_penalize.c"
#include "transform_obj_norm_by_dim.c"

Functions

static double f_bueche_rastrigin_raw (const double *x, const size_t number_of_variables)
 Implements the Bueche-Rastrigin function without connections to any COCO structures. More...
 
static void f_bueche_rastrigin_evaluate (coco_problem_t *problem, const double *x, double *y)
 Uses the raw function to evaluate the COCO problem. More...
 
static coco_problem_tf_bueche_rastrigin_allocate (const size_t number_of_variables)
 Allocates the basic Bueche-Rastrigin problem. More...
 
static coco_problem_tf_bueche_rastrigin_bbob_problem_allocate (const size_t function, const size_t dimension, const size_t instance, const long rseed, const char *problem_id_template, const char *problem_name_template)
 Creates the BBOB Bueche-Rastrigin problem. More...
 

Detailed Description

Implementation of the Bueche-Rastrigin function and problem.

Function Documentation

static coco_problem_t* f_bueche_rastrigin_allocate ( const size_t  number_of_variables)
static

Allocates the basic Bueche-Rastrigin problem.

static coco_problem_t* f_bueche_rastrigin_bbob_problem_allocate ( const size_t  function,
const size_t  dimension,
const size_t  instance,
const long  rseed,
const char *  problem_id_template,
const char *  problem_name_template 
)
static

Creates the BBOB Bueche-Rastrigin problem.

static void f_bueche_rastrigin_evaluate ( coco_problem_t problem,
const double *  x,
double *  y 
)
static

Uses the raw function to evaluate the COCO problem.

static double f_bueche_rastrigin_raw ( const double *  x,
const size_t  number_of_variables 
)
static

Implements the Bueche-Rastrigin function without connections to any COCO structures.