transform_vars_x_hat_generic.c File Reference

Implementation of multiplying the decision values by the vector 1+-. Wassim: TODO: should eventually replace the non generic version in its use in Schwefel where xopt would be set elsewhere. More...

#include <assert.h>
#include "coco.h"
#include "coco_problem.c"
#include "suite_bbob_legacy_code.c"

Data Structures

struct  transform_vars_x_hat_generic_data_t
 Data type for transform_vars_x_hat_generic. More...
 
struct  f_lunacek_bi_rastrigin_versatile_data_t
 Data type for the versatile_data_t. More...
 

Functions

static void transform_vars_x_hat_generic_evaluate (coco_problem_t *problem, const double *x, double *y)
 Evaluates the transformation. More...
 
static void transform_vars_x_hat_generic_free (void *thing)
 Frees the data object. More...
 
static coco_problem_ttransform_vars_x_hat_generic (coco_problem_t *inner_problem, const double *sign_vector)
 Creates the transformation. More...
 

Detailed Description

Implementation of multiplying the decision values by the vector 1+-. Wassim: TODO: should eventually replace the non generic version in its use in Schwefel where xopt would be set elsewhere.

Function Documentation

static coco_problem_t* transform_vars_x_hat_generic ( coco_problem_t inner_problem,
const double *  sign_vector 
)
static

Creates the transformation.

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

Evaluates the transformation.

static void transform_vars_x_hat_generic_free ( void *  thing)
static

Frees the data object.