Crate coco_sys[−][src]
Structs
@brief Structure containing a COCO archive.
@brief Structure containing a COCO observer.
@brief Structure containing a COCO problem.
@brief Structure containing a COCO random state.
@brief Structure containing a COCO suite.
Constants
< @brief error, warning, info and debug messages are output
< @brief only error messages are output
< @brief error, warning and info messages are output
< @brief error and warning messages are output
@brief COCO’s own pi constant. Simplifies the case, when the value of pi changes.
Statics
@brief COCO’s version.
Functions
@name Methods managing memory @brief Safe memory allocation that either succeeds or triggers a coco_error.
@brief Safe memory allocation for a vector of doubles that either succeeds or triggers a coco_error.
@brief Constructs a COCO archive.
@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.
@brief Frees the archive.
@brief Returns the hypervolume of the archive (computed first, if needed).
@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.
@brief Returns the number of (non-dominated) solutions in the archive (computed first, if needed).
@brief Outputs detailed information usually used for debugging.
@name Methods regarding COCO messages @brief Signals a fatal error.
@brief Evaluates the problem constraints in point x and save the result in y.
@name Methods regarding COCO problem @brief Evaluates the problem function in point x and save the result in y.
@brief Frees the allocated memory.
@brief Prints only the given message without any prefix and new line.
@brief Feeds the solution to the bi-objective logger for logger output reconstruction purposes.
@name Methods regarding COCO observer @brief Constructs a COCO observer.
@brief Frees the given observer.
@brief Returns result folder name, where logger output is written.
@brief Adds an observer to the given problem.
@brief Returns 1 if the final target was hit, 0 otherwise.
@brief Frees the given problem.
@brief Returns the best observed value for the first objective.
@brief Returns the number of variables i.e. the dimension of the problem.
@brief Returns the number of objective function evaluations done on the problem.
@brief Returns the number of constraint function evaluations done on the problem.
@brief Returns the ID of the problem.
@brief Returns an initial solution, i.e. a feasible variable setting, to the problem.
@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.
@brief Returns a vector of size ‘dimension’ with upper bounds of the region of interest in the decision space.
@brief Returns the name of the problem.
@brief Returns the number of constraints of the problem.
@brief Returns the number of integer variables. If > 0, all integer variables come before any continuous ones.
@brief Returns the number of objectives of the problem.
@brief Returns a vector of size ‘dimension’ with lower bounds of the region of interest in the decision space.
@brief Returns the problem_index of the problem in its current suite.
@brief Returns the type of the problem.
@brief Removes an observer from the given problem.
@brief Frees all memory associated with the random state.
@brief Creates and returns a new random number state using the given seed.
@brief Generates an approximately normal random number.
@brief Returns one uniform [0, 1) random value from the random number generator associated with the given state.
@brief Recommends a solution as the current best guesses to the problem. Not implemented yet.
@name Other useful methods @brief Removes the given directory and all its contents.
@brief Sets the COCO log level to the given value and returns the previous value of the log level.
@brief Formatted string duplication.
@brief Constructs a COCO suite.
@brief Computes the function, dimension and instance indexes of the problem with problem_index in the given suite.
@name Encoding/decoding problem index
Makes the problem returned by coco_suite_get_next_problem owned
@brief Frees the given suite.
@brief Returns the dimension number in the suite in position dimension_idx (counting from 0).
@brief Returns the function number in the suite in position function_idx (counting from 0).
@brief Returns the instance number in the suite in position instance_idx (counting from 0).
@brief Returns the next (observed) problem of the suite or NULL if there is no next problem left.
@brief Returns the number of problems in the given suite.
@brief Returns the problem of the suite defined by problem_index.
@brief Returns the first problem of the suite defined by function, dimension and instance numbers.
@brief Warns about error conditions.
@brief Returns the target value for the first objective.
Type Definitions
@brief The COCO archive type.
@brief Logging level type.
@brief The COCO observer type.
@brief The COCO problem type.
@brief The COCO random state type.
@brief The COCO suite type.
