[][src]Function clingo_sys::clingo_assignment_decision

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

Determine the decision literal given a decision level.

@param[in] assignment the target assignment @param[in] level the level @param[out] literal the resulting literal @return whether the call was successful