39 void init_shogun(
void (*print_message)(FILE* target,
const char* str) = NULL,
40 void (*print_warning)(FILE* target,
const char* str) = NULL,
41 void (*print_error)(FILE* target,
const char* str) = NULL,
42 void (*cancel_computations)(
bool &delayed,
bool &immediately)=NULL);
void init_shogun(void(*print_message)(FILE *target, const char *str), void(*print_warning)(FILE *target, const char *str), void(*print_error)(FILE *target, const char *str), void(*cancel_computations)(bool &delayed, bool &immediately))
void set_global_version(Version *version)
void set_global_math(CMath *math)
void(* sg_print_warning)(FILE *target, const char *str)
function called to print warning messages
void init_shogun_with_defaults()
CMath * get_global_math()
void(* sg_print_error)(FILE *target, const char *str)
function called to print error messages
Parallel * get_global_parallel()
void(* sg_cancel_computations)(bool &delayed, bool &immediately)
function called to cancel things
void set_global_parallel(Parallel *parallel)
void(* sg_print_message)(FILE *target, const char *str)
function called to print normal messages
all of classes and functions are contained in the shogun namespace
Version * get_global_version()
void set_global_rand(CRandom *rand)
void set_global_io(SGIO *io)
CRandom * get_global_rand()