X-shooter Pipeline Reference Manual 3.8.15
Macros | Typedefs | Functions
xsh_model_sa.h File Reference
#include "xsh_model_kernel.h"

Go to the source code of this file.

Macros

#define XSH_MODEL_SA_H   1.2
 
#define NO_VALUE   -1
 
#define NO_VALUE_INT   -1
 
#define NO_VALUE_FLOAT   -1.0
 

Typedefs

typedef float(* CostFunction) (double *)
 

Functions

int xsh_SAInit (CostFunction f, int d)
 
void xsh_SAfree (void)
 
int xsh_SAiterations (int it)
 
int xsh_SAdwell (int d)
 
float xsh_SABoltzmann (float k)
 
float xsh_SAlearning_rate (float r)
 
float xsh_SAtemperature (float t)
 
float xsh_SAjump (float j)
 
float xsh_SArange (float r)
 
void xsh_SAinitial (double *xi)
 
void xsh_SAcurrent (double *xc)
 
void xsh_SAoptimum (double *xb)
 
float xsh_SAmelt (int iters)
 
float xsh_SAanneal (int iters)
 

Macro Definition Documentation

◆ NO_VALUE

#define NO_VALUE   -1

Definition at line 33 of file xsh_model_sa.h.

◆ NO_VALUE_FLOAT

#define NO_VALUE_FLOAT   -1.0

Definition at line 35 of file xsh_model_sa.h.

◆ NO_VALUE_INT

#define NO_VALUE_INT   -1

Definition at line 34 of file xsh_model_sa.h.

◆ XSH_MODEL_SA_H

#define XSH_MODEL_SA_H   1.2

Definition at line 25 of file xsh_model_sa.h.

Typedef Documentation

◆ CostFunction

typedef float(* CostFunction) (double *)

Definition at line 29 of file xsh_model_sa.h.