Function clingo_sys::clingo_statistics_value_set
source · pub unsafe extern "C" fn clingo_statistics_value_set(
statistics: *mut clingo_statistics_t,
key: u64,
value: f64
) -> bool
Expand description
! Set the value of the given entry. ! ! @pre The @link clingo_statistics_type() type@endlink of the entry must be @ref ::clingo_statistics_type_value. ! @param[in] statistics the target statistics ! @param[in] key the key ! @param[out] value the new value ! @return whether the call was successful