Function clingo_sys::clingo_assignment_trail_size
source · pub unsafe extern "C" fn clingo_assignment_trail_size(
assignment: *const clingo_assignment_t,
size: *mut u32
) -> bool
Expand description
! Returns the number of literals in the trail, i.e., the number of assigned literals. ! ! @param[in] assignment the target ! @param[out] size the number of literals in the trail ! @return whether the call was successful