17 #ifndef __included_anneal_h__ 18 #define __included_anneal_h__ 39 #define CLIB_ANNEAL_VERBOSE (1<<0) 40 #define CLIB_ANNEAL_MINIMIZE (1<<1) 41 #define CLIB_ANNEAL_MAXIMIZE (1<<2) 62 f64 (*anneal_metric)(
void * opaque);
65 void (*anneal_new_configuration)(
void * opaque);
68 void (*anneal_restore_previous_configuration)(
void * opaque);
71 void (*anneal_save_best_configuration) (
void * opaque);
74 void (*anneal_restore_best_configuration) (
void * opaque);
static void(BVT(clib_bihash)*h, BVT(clib_bihash_value)*v)
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.