coco_observer_s Struct Reference

The COCO observer structure. More...

#include <coco_internal.h>

Data Fields

int is_active
 Whether the observer is active (the logger will log some output). More...
 
char * observer_name
 Name of the observer for identification purposes. More...
 
char * result_folder
 Name of the result folder. More...
 
char * algorithm_name
 Name of the algorithm to be used in logger output. More...
 
char * algorithm_info
 Additional information on the algorithm to be used in logger output. More...
 
size_t number_target_triggers
 The number of targets between each 10**i and 10**(i+1). More...
 
double target_precision
 The minimal precision used for targets. More...
 
size_t number_evaluation_triggers
 The number of triggers between each 10**i and 10**(i+1) evaluation number. More...
 
char * base_evaluation_triggers
 The "base evaluations" used to evaluations that trigger logging. More...
 
int precision_x
 Output precision for decision variables. More...
 
int precision_f
 Output precision for function values. More...
 
int precision_g
 Output precision for constraint values. More...
 
int log_discrete_as_int
 Whether to output discrete variables in int or double format. More...
 
void * data
 Void pointer that can be used to point to data specific to an observer. More...
 
coco_data_free_function_t data_free_function
 The function for freeing this observer. More...
 
coco_logger_allocate_function_t logger_allocate_function
 The function for allocating the logger. More...
 
coco_logger_free_function_t logger_free_function
 The function for freeing the logger. More...
 

Detailed Description

The COCO observer structure.

An observer observes the whole benchmark process. It is independent of suites and problems. Each time a new problem of the suite is being observed, the observer initializes a new logger (wraps the observed problem with the corresponding logger).

Field Documentation

char* algorithm_info

Additional information on the algorithm to be used in logger output.

char* algorithm_name

Name of the algorithm to be used in logger output.

char* base_evaluation_triggers

The "base evaluations" used to evaluations that trigger logging.

void* data

Void pointer that can be used to point to data specific to an observer.

coco_data_free_function_t data_free_function

The function for freeing this observer.

int is_active

Whether the observer is active (the logger will log some output).

int log_discrete_as_int

Whether to output discrete variables in int or double format.

coco_logger_allocate_function_t logger_allocate_function

The function for allocating the logger.

coco_logger_free_function_t logger_free_function

The function for freeing the logger.

size_t number_evaluation_triggers

The number of triggers between each 10**i and 10**(i+1) evaluation number.

size_t number_target_triggers

The number of targets between each 10**i and 10**(i+1).

char* observer_name

Name of the observer for identification purposes.

int precision_f

Output precision for function values.

int precision_g

Output precision for constraint values.

int precision_x

Output precision for decision variables.

char* result_folder

Name of the result folder.

double target_precision

The minimal precision used for targets.


The documentation for this struct was generated from the following file: