transform_vars_scale.c File Reference

Implementation of scaling decision values by a given factor. More...

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

Data Structures

struct  transform_vars_scale_data_t
 Data type for transform_vars_scale. More...
 

Functions

static void transform_vars_scale_evaluate (coco_problem_t *problem, const double *x, double *y)
 Evaluates the transformation. More...
 
static void transform_vars_scale_free (void *thing)
 Frees the data object. More...
 
static coco_problem_ttransform_vars_scale (coco_problem_t *inner_problem, const double factor)
 Creates the transformation. More...
 

Detailed Description

Implementation of scaling decision values by a given factor.

Function Documentation

static coco_problem_t* transform_vars_scale ( coco_problem_t inner_problem,
const double  factor 
)
static

Creates the transformation.

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

Evaluates the transformation.

static void transform_vars_scale_free ( void *  thing)
static

Frees the data object.