17 #ifndef __included_anneal_h__ 18 #define __included_anneal_h__ 40 #define CLIB_ANNEAL_VERBOSE (1<<0) 41 #define CLIB_ANNEAL_MINIMIZE (1<<1) 42 #define CLIB_ANNEAL_MAXIMIZE (1<<2) 63 f64 (*anneal_metric) (
void *opaque);
66 void (*anneal_new_configuration) (
void *opaque);
69 void (*anneal_restore_previous_configuration) (
void *opaque);
72 void (*anneal_save_best_configuration) (
void *opaque);
75 void (*anneal_restore_best_configuration) (
void *opaque);
u32 number_of_configurations_per_temperature
u32 number_of_temperatures
void clib_anneal(clib_anneal_param_t *p)
f64 suggested_initial_temperature
Linear Congruential Random Number Generator.