Function clingo_sys::clingo_assignment_is_true
[−]
[src]
pub unsafe extern "C" fn clingo_assignment_is_true(
assignment: *const clingo_assignment_t,
literal: clingo_literal_t,
is_true: *mut bool
) -> bool
Check if a literal is true.
Parameters:
assignment
- the target assignmentliteral
- the literalis_true
- whether the literal is true
Returns whether the call was successful @see clingo_assignment_truth_value()