|
static double | bbob2009_fmin (double a, double b) |
| Computes the minimum of the two values. More...
|
|
static double | bbob2009_fmax (double a, double b) |
| Computes the maximum of the two values. More...
|
|
static double | bbob2009_round (double x) |
| Rounds the given value. More...
|
|
static double ** | bbob2009_allocate_matrix (const size_t n, const size_t m) |
| Allocates a n by m matrix structured as an array of pointers to double arrays. More...
|
|
static void | bbob2009_free_matrix (double **matrix, const size_t n) |
| Frees the matrix structured as an array of pointers to double arrays. More...
|
|
static void | bbob2009_unif (double *r, size_t N, long inseed) |
| Generates N uniform random numbers using inseed as the seed and stores them in r. More...
|
|
static double ** | bbob2009_reshape (double **B, double *vector, const size_t m, const size_t n) |
| Converts from packed matrix storage to an array of array of double representation. More...
|
|
static void | bbob2009_gauss (double *g, const size_t N, const long seed) |
| Generates N Gaussian random numbers using the given seed and stores them in g. More...
|
|
static void | bbob2009_compute_rotation (double **B, const long seed, const size_t DIM) |
| Computes a DIM by DIM rotation matrix based on seed and stores it in B. More...
|
|
static void | bbob2009_copy_rotation_matrix (double **rot, double *M, double *b, const size_t DIM) |
|
static void | bbob2009_compute_xopt (double *xopt, const long seed, const size_t DIM) |
| Randomly computes the location of the global optimum. More...
|
|
static double | bbob2009_compute_fopt (const size_t function, const size_t instance) |
| Randomly chooses the objective offset for the given function and instance. More...
|
|
Legacy code from BBOB2009 required to replicate the 2009 functions.
All of this code should only be used by the suite_bbob2009 functions to provide compatibility to the legacy code. New test beds should strive to use the new COCO facilities for random number generation etc.