10# include <gsl/gsl_rng.h>
13typedef struct DiffEv DiffEv;
15typedef enum DEStatus DEStatus;
23enum DEStatus {ReachedGoal,
30 int dim, ptsPerDim, refresh, strategy, nthreads, verbose;
36 void *(*JobData_dup) (
const void *);
37 void (*JobData_free) (
void *);
38 double (*objfun) (
int dim,
double x[dim],
void *,
void *);
46 void *(*ThreadState_new) (
void *);
47 void (*ThreadState_free) (
void *);
52DEStatus
diffev(
int dim,
double estimate[dim],
double *loCost,
53 double *yspread,
DiffEvPar dep, gsl_rng * rng);
void sighandle(int signo)
Signal handler.
Definition: diffev.c:182
DEStatus diffev(int dim, double estimate[dim], double *loCost, double *yspread, DiffEvPar dep, gsl_rng *rng)
The diffev optimizer.
Definition: diffev.c:624
void handleSIGTERM(int signo)
SIGTERM is translated to SIGINT.
Definition: diffev.c:187
const char * diffEvStrategyLbl(int i)
Return a const pointer to the label of the i'th strategy.
Definition: diffev.c:503
Definition: pointbuff.c:23
Holds a linked list of Stages and a mutex lock.
Definition: simsched.c:37
Definition: tinyexpr.c:73