#include <cpl.h>
#include "xsh_model_kernel.h"
#include "xsh_model_metric.h"
#include <stdio.h>
#include <math.h>
#include <float.h>
#include <stdlib.h>
#include "xsh_model_r250.h"
#include "xsh_model_sa.h"
Go to the source code of this file.
Data Structures | |
struct | SimAnneal |
Defines | |
#define | uniform(a, b) ( a + (b - a) * xsh_dr250() ) |
#define | HUGE HUGE_VAL |
#define | PI 3.1415626536 |
#define | PI2 (PI/2.0) |
Functions | |
static int | equilibrate (float t, int n) |
int | xsh_SAInit (CostFunction f, int d) |
void | xsh_SAfree (void) |
int | xsh_SAiterations (int m) |
int | xsh_SAdwell (int m) |
float | xsh_SABoltzmann (float k) |
float | xsh_SAtemperature (float t) |
float | xsh_SAlearning_rate (float r) |
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) |
Variables | |
static SimAnneal | s |