pub unsafe extern "C" fn coco_archive_add_solution(
archive: *mut coco_archive_t,
y1: f64,
y2: f64,
text: *const c_char,
) -> c_intExpand description
@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.