observer_toy.c File Reference

Implementation of the toy observer. More...

#include "coco.h"
#include "coco_utilities.c"

Data Structures

struct  observer_toy_data_t
 The toy observer data type. More...
 

Functions

static coco_problem_tlogger_toy (coco_observer_t *observer, coco_problem_t *problem)
 
static void logger_toy_free (void *logger)
 
static void observer_toy_free (void *stuff)
 Frees memory of the toy observer data structure. More...
 
static void observer_toy (coco_observer_t *observer, const char *options, coco_option_keys_t **option_keys)
 Initializes the toy observer. More...
 

Detailed Description

Implementation of the toy observer.

Function Documentation

static coco_problem_t* logger_toy ( coco_observer_t observer,
coco_problem_t problem 
)
static
static void logger_toy_free ( void *  logger)
static
static void observer_toy ( coco_observer_t observer,
const char *  options,
coco_option_keys_t **  option_keys 
)
static

Initializes the toy observer.

Possible options:

  • file_name: string (name of the output file; default value is "first_hitting_times.dat")
static void observer_toy_free ( void *  stuff)
static

Frees memory of the toy observer data structure.