f_rosenbrock.c File Reference

Implementation of the Rosenbrock function and problem. More...

Functions

static double f_rosenbrock_raw (const double *x, const size_t number_of_variables)
 Implements the Rosenbrock function without connections to any COCO structures. More...
 
static void f_rosenbrock_evaluate (coco_problem_t *problem, const double *x, double *y)
 Uses the raw function to evaluate the COCO problem. More...
 
static coco_problem_tf_rosenbrock_allocate (const size_t number_of_variables)
 Allocates the basic Rosenbrock problem. More...
 
static coco_problem_tf_rosenbrock_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 Rosenbrock problem. More...
 
static coco_problem_tf_rosenbrock_rotated_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 rotated Rosenbrock problem. More...
 
static coco_problem_tf_rosenbrock_permblockdiag_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 permuted block-rotated Rosenbrock problem. More...
 

Detailed Description

Implementation of the Rosenbrock function and problem.

Function Documentation

static coco_problem_t* f_rosenbrock_allocate ( const size_t  number_of_variables)
static

Allocates the basic Rosenbrock problem.

static coco_problem_t* f_rosenbrock_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 Rosenbrock problem.

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

Uses the raw function to evaluate the COCO problem.

static coco_problem_t* f_rosenbrock_permblockdiag_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 permuted block-rotated Rosenbrock problem.

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

Implements the Rosenbrock function without connections to any COCO structures.

static coco_problem_t* f_rosenbrock_rotated_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 rotated Rosenbrock problem.