f_attractive_sector.c File Reference

Implementation of the attractive sector function and problem. More...

#include <assert.h>
#include <math.h>
#include "coco.h"
#include "coco_problem.c"
#include "suite_bbob_legacy_code.c"
#include "transform_obj_oscillate.c"
#include "transform_obj_power.c"
#include "transform_obj_shift.c"
#include "transform_vars_affine.c"
#include "transform_vars_shift.c"
#include "transform_vars_permutation.c"
#include "transform_vars_blockrotation.c"
#include "transform_vars_conditioning.c"
#include "transform_obj_norm_by_dim.c"

Data Structures

struct  f_attractive_sector_data_t
 Data type for the attractive sector problem. More...
 

Functions

static double f_attractive_sector_raw (const double *x, const size_t number_of_variables, f_attractive_sector_data_t *data)
 Implements the attractive sector function without connections to any COCO structures. More...
 
static void f_attractive_sector_evaluate (coco_problem_t *problem, const double *x, double *y)
 Uses the raw function to evaluate the COCO problem. More...
 
static void f_attractive_sector_free (coco_problem_t *problem)
 Frees the attractive sector data object. More...
 
static coco_problem_tf_attractive_sector_allocate (const size_t number_of_variables, const double *xopt)
 Allocates the basic attractive sector problem. More...
 
static coco_problem_tf_attractive_sector_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 attractive sector problem. More...
 
static coco_problem_tf_attractive_sector_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)
 

Detailed Description

Implementation of the attractive sector function and problem.

Function Documentation

static coco_problem_t* f_attractive_sector_allocate ( const size_t  number_of_variables,
const double *  xopt 
)
static

Allocates the basic attractive sector problem.

static coco_problem_t* f_attractive_sector_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 attractive sector problem.

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

Uses the raw function to evaluate the COCO problem.

static void f_attractive_sector_free ( coco_problem_t problem)
static

Frees the attractive sector data object.

static coco_problem_t* f_attractive_sector_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
static double f_attractive_sector_raw ( const double *  x,
const size_t  number_of_variables,
f_attractive_sector_data_t data 
)
static

Implements the attractive sector function without connections to any COCO structures.