pub unsafe extern "C" fn clingo_backend_heuristic(
    backend: *mut clingo_backend_t,
    atom: clingo_atom_t,
    type_: clingo_heuristic_type_t,
    bias: c_int,
    priority: c_uint,
    condition: *const clingo_literal_t,
    size: usize
) -> bool
Expand description

! Add an heuristic directive. ! ! @param[in] backend the target backend ! @param[in] atom the target atom ! @param[in] type the type of the heuristic modification ! @param[in] bias the heuristic bias ! @param[in] priority the heuristic priority ! @param[in] condition the condition under which to apply the heuristic modification ! @param[in] size the number of atoms in the condition ! @return whether the call was successful; might set one of the following error codes: ! - ::clingo_error_bad_alloc