Crate coco_sys

Source

Structs§

__fsid_t
coco_archive_s
@brief Structure containing a COCO archive.
coco_observer_s
@brief Structure containing a COCO observer.
coco_problem_s
@brief Structure containing a COCO problem.
coco_random_state_s
@brief Structure containing a COCO random state.
coco_suite_s
@brief Structure containing a COCO suite.
max_align_t

Constants§

FP_ILOGB0
FP_ILOGBNAN
FP_INFINITE
FP_NAN
FP_NORMAL
FP_SUBNORMAL
FP_ZERO
INT8_MAX
INT8_MIN
INT16_MAX
INT16_MIN
INT32_MAX
INT32_MIN
INTPTR_MAX
INTPTR_MIN
INT_FAST8_MAX
INT_FAST8_MIN
INT_FAST16_MAX
INT_FAST16_MIN
INT_FAST32_MAX
INT_FAST32_MIN
INT_LEAST8_MAX
INT_LEAST8_MIN
INT_LEAST16_MAX
INT_LEAST16_MIN
INT_LEAST32_MAX
INT_LEAST32_MIN
MATH_ERREXCEPT
MATH_ERRNO
M_1_PI
M_2_PI
M_2_SQRTPI
M_E
M_LN2
M_LN10
M_LOG2E
M_LOG10E
M_PI
M_PI_2
M_PI_4
M_SQRT2
M_SQRT1_2
PTRDIFF_MAX
PTRDIFF_MIN
SIG_ATOMIC_MAX
SIG_ATOMIC_MIN
SIZE_MAX
UINT8_MAX
UINT16_MAX
UINT32_MAX
UINTPTR_MAX
UINT_FAST8_MAX
UINT_FAST16_MAX
UINT_FAST32_MAX
UINT_LEAST8_MAX
UINT_LEAST16_MAX
UINT_LEAST32_MAX
WINT_MAX
WINT_MIN
_ATFILE_SOURCE
_BITS_LIBM_SIMD_DECL_STUBS_H
_BITS_STDINT_INTN_H
_BITS_STDINT_LEAST_H
_BITS_STDINT_UINTN_H
_BITS_TIME64_H
_BITS_TYPESIZES_H
_BITS_TYPES_H
_BITS_WCHAR_H
_DEFAULT_SOURCE
_FEATURES_H
_MATH_H
_POSIX_C_SOURCE
_POSIX_SOURCE
_STDC_PREDEF_H
_STDINT_H
_SYS_CDEFS_H
__FD_SETSIZE
__FP_LOGB0_IS_MIN
__FP_LOGBNAN_IS_MIN
__GLIBC_MINOR__
__GLIBC_USE_C2X_STRTOL
__GLIBC_USE_DEPRECATED_GETS
__GLIBC_USE_DEPRECATED_SCANF
__GLIBC_USE_IEC_60559_BFP_EXT
__GLIBC_USE_IEC_60559_BFP_EXT_C2X
__GLIBC_USE_IEC_60559_EXT
__GLIBC_USE_IEC_60559_FUNCS_EXT
__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X
__GLIBC_USE_IEC_60559_TYPES_EXT
__GLIBC_USE_ISOC2X
__GLIBC_USE_LIB_EXT2
__GLIBC__
__GNU_LIBRARY__
__HAVE_DISTINCT_FLOAT16
__HAVE_DISTINCT_FLOAT32
__HAVE_DISTINCT_FLOAT64
__HAVE_DISTINCT_FLOAT32X
__HAVE_DISTINCT_FLOAT64X
__HAVE_DISTINCT_FLOAT128
__HAVE_DISTINCT_FLOAT128X
__HAVE_FLOAT16
__HAVE_FLOAT32
__HAVE_FLOAT64
__HAVE_FLOAT32X
__HAVE_FLOAT64X
__HAVE_FLOAT64X_LONG_DOUBLE
__HAVE_FLOAT128
__HAVE_FLOAT128X
__HAVE_FLOATN_NOT_TYPEDEF
__HAVE_GENERIC_SELECTION
__INO_T_MATCHES_INO64_T
__KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64
__LDOUBLE_REDIRECTS_TO_FLOAT128_ABI
__MATH_DECLARE_LDOUBLE
__MATH_DECLARING_DOUBLE
__MATH_DECLARING_FLOATN
__OFF_T_MATCHES_OFF64_T
__RLIM_T_MATCHES_RLIM64_T
__STATFS_MATCHES_STATFS64
__STDC_IEC_559_COMPLEX__
__STDC_IEC_559__
__STDC_IEC_60559_BFP__
__STDC_IEC_60559_COMPLEX__
__STDC_ISO_10646__
__SYSCALL_WORDSIZE
__TIMESIZE
__USE_ATFILE
__USE_FORTIFY_LEVEL
__USE_ISOC11
__USE_ISOC95
__USE_ISOC99
__USE_MISC
__USE_POSIX
__USE_POSIX2
__USE_POSIX199309
__USE_POSIX199506
__USE_POSIX_IMPLICITLY
__USE_XOPEN2K
__USE_XOPEN2K8
__WORDSIZE
__WORDSIZE_TIME64_COMPAT32
__glibc_c99_flexarr_available
coco_log_level_type_e_COCO_DEBUG
< @brief error, warning, info and debug messages are output
coco_log_level_type_e_COCO_ERROR
< @brief only error messages are output
coco_log_level_type_e_COCO_INFO
< @brief error, warning and info messages are output
coco_log_level_type_e_COCO_WARNING
< @brief error and warning messages are output
coco_pi
/ /** @brief COCO’s own pi constant. Simplifies the case, when the value of pi changes. / /**@{
coco_two_pi
coco_version
@brief COCO’s version.
math_errhandling

Statics§

signgam

Functions§

__acos
__acosf
__acosh
__acoshf
__acoshl
__acosl
__asin
__asinf
__asinh
__asinhf
__asinhl
__asinl
__atan
__atan2
__atan2f
__atan2l
__atanf
__atanh
__atanhf
__atanhl
__atanl
__cbrt
__cbrtf
__cbrtl
__ceil
__ceilf
__ceill
__copysign
__copysignf
__copysignl
__cos
__cosf
__cosh
__coshf
__coshl
__cosl
__drem
__dremf
__dreml
__erf
__erfc
__erfcf
__erfcl
__erff
__erfl
__exp
__exp2
__exp2f
__exp2l
__expf
__expl
__expm1
__expm1f
__expm1l
__fabs
__fabsf
__fabsl
__fdim
__fdimf
__fdiml
__finite
__finitef
__finitel
__floor
__floorf
__floorl
__fma
__fmaf
__fmal
__fmax
__fmaxf
__fmaxl
__fmin
__fminf
__fminl
__fmod
__fmodf
__fmodl
__fpclassify
__fpclassifyf
__fpclassifyl
__frexp
__frexpf
__frexpl
__gamma
__gammaf
__gammal
__hypot
__hypotf
__hypotl
__ilogb
__ilogbf
__ilogbl
__iseqsig
__iseqsigf
__iseqsigl
__isinf
__isinff
__isinfl
__isnan
__isnanf
__isnanl
__issignaling
__issignalingf
__issignalingl
__j0
__j0f
__j0l
__j1
__j1f
__j1l
__jn
__jnf
__jnl
__ldexp
__ldexpf
__ldexpl
__lgamma
__lgamma_r
__lgammaf
__lgammaf_r
__lgammal
__lgammal_r
__llrint
__llrintf
__llrintl
__llround
__llroundf
__llroundl
__log
__log2
__log1p
__log1pf
__log1pl
__log2f
__log2l
__log10
__log10f
__log10l
__logb
__logbf
__logbl
__logf
__logl
__lrint
__lrintf
__lrintl
__lround
__lroundf
__lroundl
__modf
__modff
__modfl
__nan
__nanf
__nanl
__nearbyint
__nearbyintf
__nearbyintl
__nextafter
__nextafterf
__nextafterl
__nexttoward
__nexttowardf
__nexttowardl
__pow
__powf
__powl
__remainder
__remainderf
__remainderl
__remquo
__remquof
__remquol
__rint
__rintf
__rintl
__round
__roundf
__roundl
__scalb
__scalbf
__scalbl
__scalbln
__scalblnf
__scalblnl
__scalbn
__scalbnf
__scalbnl
__signbit
__signbitf
__signbitl
__significand
__significandf
__significandl
__sin
__sinf
__sinh
__sinhf
__sinhl
__sinl
__sqrt
__sqrtf
__sqrtl
__tan
__tanf
__tanh
__tanhf
__tanhl
__tanl
__tgamma
__tgammaf
__tgammal
__trunc
__truncf
__truncl
__y0
__y0f
__y0l
__y1
__y1f
__y1l
__yn
__ynf
__ynl
acos
acosf
acosh
acoshf
acoshl
acosl
asin
asinf
asinh
asinhf
asinhl
asinl
atan
atan2
atan2f
atan2l
atanf
atanh
atanhf
atanhl
atanl
bbob_biobj_problem_best_parameter_print
bbob_problem_best_parameter_print
cbrt
cbrtf
cbrtl
ceil
ceilf
ceill
coco_allocate_memory
@name Methods managing memory / /@{*/ / @brief Safe memory allocation that either succeeds or triggers a coco_error.
coco_allocate_vector
@brief Safe memory allocation for a vector of doubles that either succeeds or triggers a coco_error.
coco_archive
@brief Constructs a COCO archive.
coco_archive_add_solution
@brief Adds a solution with objectives (y1, y2) to the archive if none of the existing solutions in the archive dominates it. In this case, returns 1, otherwise the archive is not updated and the method returns 0.
coco_archive_free
@brief Frees the archive.
coco_archive_get_hypervolume
@brief Returns the hypervolume of the archive (computed first, if needed).
coco_archive_get_next_solution_text
@brief Returns the text of the next (non-dominated) solution in the archive and “” when there are no solutions left. The first two solutions are always the extreme ones.
coco_archive_get_number_of_solutions
@brief Returns the number of (non-dominated) solutions in the archive (computed first, if needed).
coco_debug
@brief Outputs detailed information usually used for debugging.
coco_error
@name Methods regarding COCO messages / /@{*/ / @brief Signals a fatal error.
coco_evaluate_constraint
@brief Evaluates the problem constraints in point x and save the result in y.
coco_evaluate_function
@name Methods regarding COCO problem / /@{*/ / @brief Evaluates the problem function in point x and save the result in y.
coco_free_memory
@brief Frees the allocated memory.
coco_info
@brief Outputs some information.
coco_info_partial
@brief Prints only the given message without any prefix and new line.
coco_logger_biobj_feed_solution
@brief Feeds the solution to the bi-objective logger for logger output reconstruction purposes.
coco_observer
@name Methods regarding COCO observer / /@{*/ / @brief Constructs a COCO observer.
coco_observer_free
@brief Frees the given observer.
coco_observer_get_result_folder
@brief Returns result folder name, where logger output is written.
coco_problem_add_observer
@brief Adds an observer to the given problem.
coco_problem_final_target_hit
@brief Returns 1 if the final target was hit, 0 otherwise.
coco_problem_free
@brief Frees the given problem.
coco_problem_get_best_observed_fvalue1
@brief Returns the best observed value for the first objective.
coco_problem_get_best_value
Returns the optimal function value of the problem
coco_problem_get_dimension
@brief Returns the number of variables i.e. the dimension of the problem.
coco_problem_get_evaluations
@brief Returns the number of objective function evaluations done on the problem.
coco_problem_get_evaluations_constraints
@brief Returns the number of constraint function evaluations done on the problem.
coco_problem_get_final_target_fvalue1
Returns the optimal function value + delta of the problem
coco_problem_get_id
@brief Returns the ID of the problem.
coco_problem_get_initial_solution
@brief Returns an initial solution, i.e. a feasible variable setting, to the problem.
coco_problem_get_largest_fvalues_of_interest
@brief For multi-objective problems, returns a vector of largest values of interest in each objective. Currently, this equals the nadir point. For single-objective problems it raises an error.
coco_problem_get_largest_values_of_interest
@brief Returns a vector of size ‘dimension’ with upper bounds of the region of interest in the decision space.
coco_problem_get_name
@brief Returns the name of the problem.
coco_problem_get_number_of_constraints
@brief Returns the number of constraints of the problem.
coco_problem_get_number_of_integer_variables
@brief Returns the number of integer variables. If > 0, all integer variables come before any continuous ones.
coco_problem_get_number_of_objectives
@brief Returns the number of objectives of the problem.
coco_problem_get_smallest_values_of_interest
@brief Returns a vector of size ‘dimension’ with lower bounds of the region of interest in the decision space.
coco_problem_get_suite_dep_index
@brief Returns the problem_index of the problem in its current suite.
coco_problem_get_type
@brief Returns the type of the problem.
coco_problem_remove_observer
@brief Removes an observer from the given problem.
coco_random_free
@brief Frees all memory associated with the random state.
coco_random_new
@brief Creates and returns a new random number state using the given seed.
coco_random_normal
@brief Generates an approximately normal random number.
coco_random_uniform
@brief Returns one uniform [0, 1) random value from the random number generator associated with the given state.
coco_recommend_solution
@brief Recommends a solution as the current best guesses to the problem. Not implemented yet.
coco_remove_directory
@name Other useful methods / /@{*/ / @brief Removes the given directory and all its contents.
coco_set_log_level
@brief Sets the COCO log level to the given value and returns the previous value of the log level.
coco_strdupf
@brief Formatted string duplication.
coco_suite
@brief Constructs a COCO suite.
coco_suite_decode_problem_index
@brief Computes the function, dimension and instance indexes of the problem with problem_index in the given suite.
coco_suite_encode_problem_index
@name Encoding/decoding problem index
coco_suite_forget_current_problem
Makes the problem returned by coco_suite_get_next_problem owned
coco_suite_free
@brief Frees the given suite.
coco_suite_get_dimension_from_dimension_index
@brief Returns the dimension number in the suite in position dimension_idx (counting from 0).
coco_suite_get_function_from_function_index
@brief Returns the function number in the suite in position function_idx (counting from 0).
coco_suite_get_instance_from_instance_index
@brief Returns the instance number in the suite in position instance_idx (counting from 0).
coco_suite_get_next_problem
@brief Returns the next (observed) problem of the suite or NULL if there is no next problem left.
coco_suite_get_number_of_problems
@brief Returns the number of problems in the given suite.
coco_suite_get_problem
@brief Returns the problem of the suite defined by problem_index.
coco_suite_get_problem_by_function_dimension_instance
@brief Returns the first problem of the suite defined by function, dimension and instance numbers.
coco_warning
@brief Warns about error conditions.
copysign
copysignf
copysignl
cos
cosf
cosh
coshf
coshl
cosl
depreciated_coco_problem_get_final_target_fvalue1
@brief Returns the target value for the first objective.
drem
dremf
dreml
erf
erfc
erfcf
erfcl
erff
erfl
exp
exp2
exp2f
exp2l
expf
expl
expm1
expm1f
expm1l
fabs
fabsf
fabsl
fdim
fdimf
fdiml
finite
finitef
finitel
floor
floorf
floorl
fma
fmaf
fmal
fmax
fmaxf
fmaxl
fmin
fminf
fminl
fmod
fmodf
fmodl
frexp
frexpf
frexpl
gamma
gammaf
gammal
hypot
hypotf
hypotl
ilogb
ilogbf
ilogbl
isinf
isinff
isinfl
isnan
isnanf
isnanl
j0
j0f
j0l
j1
j1f
j1l
jn
jnf
jnl
ldexp
ldexpf
ldexpl
lgamma
lgamma_r
lgammaf
lgammaf_r
lgammal
lgammal_r
llrint
llrintf
llrintl
llround
llroundf
llroundl
log
log2
log1p
log1pf
log1pl
log2f
log2l
log10
log10f
log10l
logb
logbf
logbl
logf
logl
lrint
lrintf
lrintl
lround
lroundf
lroundl
modf
modff
modfl
nan
nanf
nanl
nearbyint
nearbyintf
nearbyintl
nextafter
nextafterf
nextafterl
nexttoward
nexttowardf
nexttowardl
pow
powf
powl
remainder
remainderf
remainderl
remquo
remquof
remquol
rint
rintf
rintl
round
roundf
roundl
scalb
scalbf
scalbl
scalbln
scalblnf
scalblnl
scalbn
scalbnf
scalbnl
significand
significandf
significandl
sin
sinf
sinh
sinhf
sinhl
sinl
sqrt
sqrtf
sqrtl
tan
tanf
tanh
tanhf
tanhl
tanl
tgamma
tgammaf
tgammal
trunc
truncf
truncl
y0
y0f
y0l
y1
y1f
y1l
yn
ynf
ynl

Type Aliases§

_Float32
_Float64
_Float32x
_Float64x
__blkcnt64_t
__blkcnt_t
__blksize_t
__caddr_t
__clock_t
__clockid_t
__daddr_t
__dev_t
__fsblkcnt64_t
__fsblkcnt_t
__fsfilcnt64_t
__fsfilcnt_t
__fsword_t
__gid_t
__id_t
__ino64_t
__ino_t
__int8_t
__int16_t
__int32_t
__int64_t
__int_least8_t
__int_least16_t
__int_least32_t
__int_least64_t
__intmax_t
__intptr_t
__key_t
__loff_t
__mode_t
__nlink_t
__off64_t
__off_t
__pid_t
__quad_t
__rlim64_t
__rlim_t
__sig_atomic_t
__socklen_t
__ssize_t
__suseconds64_t
__suseconds_t
__syscall_slong_t
__syscall_ulong_t
__time_t
__timer_t
__u_char
__u_int
__u_long
__u_quad_t
__u_short
__uid_t
__uint8_t
__uint16_t
__uint32_t
__uint64_t
__uint_least8_t
__uint_least16_t
__uint_least32_t
__uint_least64_t
__uintmax_t
__useconds_t
_bindgen_ty_1
coco_archive_t
@brief The COCO archive type.
coco_log_level_type_e
@brief Logging level type.
coco_observer_t
@brief The COCO observer type.
coco_problem_t
@brief The COCO problem type.
coco_random_state_t
@brief The COCO random state type.
coco_suite_t
@brief The COCO suite type.
double_t
float_t
int_fast8_t
int_fast16_t
int_fast32_t
int_fast64_t
int_least8_t
int_least16_t
int_least32_t
int_least64_t
intmax_t
uint_fast8_t
uint_fast16_t
uint_fast32_t
uint_fast64_t
uint_least8_t
uint_least16_t
uint_least32_t
uint_least64_t
uintmax_t
wchar_t