coco_internal.h File Reference

Definitions of internal COCO structures and typedefs. More...

Go to the source code of this file.

Data Structures

struct  coco_problem_transformed_data_t
 The transformed COCO problem data type. More...
 
struct  coco_problem_stacked_data_t
 The stacked COCO problem data type. More...
 
struct  coco_option_keys_t
 The option keys data type. More...
 
struct  coco_problem_s
 The COCO problem structure. More...
 
struct  coco_observer_s
 The COCO observer structure. More...
 
struct  coco_suite_s
 The COCO suite structure. More...
 

Typedefs

typedef void(* coco_data_free_function_t) (void *data)
 The data free function type. More...
 
typedef void(* coco_problem_free_function_t) (coco_problem_t *problem)
 The problem free function type. More...
 
typedef void(* coco_evaluate_function_t) (coco_problem_t *problem, const double *x, double *y)
 The evaluate function type. More...
 
typedef void(* coco_recommend_function_t) (coco_problem_t *problem, const double *x)
 The recommend solutions function type. More...
 
typedef coco_problem_t *(* coco_logger_allocate_function_t) (coco_observer_t *observer, coco_problem_t *problem)
 The allocate logger function type. More...
 
typedef void(* coco_logger_free_function_t) (void *logger)
 The free logger function type. More...
 
typedef coco_problem_t *(* coco_get_problem_function_t) (const size_t function, const size_t dimension, const size_t instance)
 The get problem function type. More...
 

Functions

static void bbob_evaluate_gradient (coco_problem_t *problem, const double *x, double *y)
 
void bbob_problem_best_parameter_print (const coco_problem_t *problem)
 
void bbob_biobj_problem_best_parameter_print (const coco_problem_t *problem)
 

Detailed Description

Definitions of internal COCO structures and typedefs.

These are used throughout the COCO code base but should not be used by any external code.

Typedef Documentation

typedef void(* coco_data_free_function_t) (void *data)

The data free function type.

This is a template for functions that free the contents of data (used to free the contents of data fields in coco_problem, coco_suite and coco_observer).

typedef void(* coco_evaluate_function_t) (coco_problem_t *problem, const double *x, double *y)

The evaluate function type.

This is a template for functions that perform an evaluation of the problem (to evaluate the problem function, the problems constraints etc.).

typedef coco_problem_t*(* coco_get_problem_function_t) (const size_t function, const size_t dimension, const size_t instance)

The get problem function type.

This is a template for functions that return a problem based on function, dimension and instance.

typedef coco_problem_t*(* coco_logger_allocate_function_t) (coco_observer_t *observer, coco_problem_t *problem)

The allocate logger function type.

This is a template for functions that allocate a logger (wrap a logger around the given problem and return the wrapped problem).

typedef void(* coco_logger_free_function_t) (void *logger)

The free logger function type.

This is a template for functions that free a logger.

typedef void(* coco_problem_free_function_t) (coco_problem_t *problem)

The problem free function type.

This is a template for functions that free the problem structure.

typedef void(* coco_recommend_function_t) (coco_problem_t *problem, const double *x)

The recommend solutions function type.

This is a template for functions that log a recommended solution.

Function Documentation

void bbob_biobj_problem_best_parameter_print ( const coco_problem_t problem)
static void bbob_evaluate_gradient ( coco_problem_t problem,
const double *  x,
double *  y 
)
static
void bbob_problem_best_parameter_print ( const coco_problem_t problem)