Function clingo_sys::clingo_assignment_is_false [] [src]

pub unsafe extern "C" fn clingo_assignment_is_false(
    assignment: *const clingo_assignment_t,
    literal: clingo_literal_t,
    is_false: *mut bool
) -> bool

Check if a literal has a fixed truth value.

Parameters:

  • assignment - the target assignment
  • literal - the literal
  • is_false - whether the literal is false

Returns whether the call was successful @see clingo_assignment_truth_value()