Function clingo_sys::clingo_propagate_init_solver_literal
[−]
[src]
pub unsafe extern "C" fn clingo_propagate_init_solver_literal(
init: *mut clingo_propagate_init_t,
aspif_literal: clingo_literal_t,
solver_literal: *mut clingo_literal_t
) -> bool
Map the given program literal or condition id to its solver literal.
Parameters:
init
the targetaspif_literal
the aspif literal to mapsolver_literal
the resulting solver literal
Returns whether the call was successful