Function clingo_sys::clingo_model_cost_size [] [src]

pub unsafe extern "C" fn clingo_model_cost_size(
    model: *mut clingo_model_t,
    size: *mut usize
) -> bool

Get the number of cost values of a model.

Parameters:

  • model the target
  • size the number of costs

Returns whether the call was successful