f_bent_cigar_generalized.c File Reference

Implementation of the generalized bent cigar function and problem. More...

#include <stdio.h>
#include <assert.h>
#include "coco.h"
#include "coco_problem.c"
#include "suite_bbob_legacy_code.c"
#include "transform_obj_shift.c"
#include "transform_vars_affine.c"
#include "transform_vars_asymmetric.c"
#include "transform_vars_shift.c"
#include "transform_vars_permutation.c"
#include "transform_vars_blockrotation.c"
#include "transform_obj_norm_by_dim.c"

Data Structures

struct  f_bent_cigar_generalized_versatile_data_t
 Data type for the versatile_data_t. More...
 

Functions

static void f_bent_cigar_generalized_versatile_data_free (coco_problem_t *problem)
 allows to free the versatile_data part of the problem. More...
 
static double f_bent_cigar_generalized_raw (const double *x, const size_t number_of_variables, f_bent_cigar_generalized_versatile_data_t *f_bent_cigar_generalized_versatile_data)
 Implements the generalized bent cigar function without connections to any COCO structures. More...
 
static void f_bent_cigar_generalized_evaluate (coco_problem_t *problem, const double *x, double *y)
 Uses the generalized raw function to evaluate the COCO problem. More...
 
static coco_problem_tf_bent_cigar_generalized_allocate (const size_t number_of_variables, size_t proportion_long_axes_denom)
 Allocates the basic generalized bent cigar problem. More...
 
static coco_problem_tf_bent_cigar_generalized_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 generalized permuted block-rotated bent cigar problem. More...
 

Detailed Description

Implementation of the generalized bent cigar function and problem.

Function Documentation

static coco_problem_t* f_bent_cigar_generalized_allocate ( const size_t  number_of_variables,
size_t  proportion_long_axes_denom 
)
static

Allocates the basic generalized bent cigar problem.

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

Uses the generalized raw function to evaluate the COCO problem.

static coco_problem_t* f_bent_cigar_generalized_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 generalized permuted block-rotated bent cigar problem.

static double f_bent_cigar_generalized_raw ( const double *  x,
const size_t  number_of_variables,
f_bent_cigar_generalized_versatile_data_t f_bent_cigar_generalized_versatile_data 
)
static

Implements the generalized bent cigar function without connections to any COCO structures.

static void f_bent_cigar_generalized_versatile_data_free ( coco_problem_t problem)
static

allows to free the versatile_data part of the problem.