s(CASP) semantics. This performs the following
steps:
s(CASP) representation in a temporary
modules(CASP) solverOptions are passed to scasp_compile/2. Other options processed:
s(CASP) model, a list of model terms.
See scasp_model/1.s(CASP) justification tree. See
scasp_justification/2 for details.false, do not include source origin terms into the
final tree.s(CASP) gathers the clauses reachable from the query
and the global constraints whose call tree overlaps them, so a
constraint mentioning nothing the query reaches is left out --
and an odd loop or a p/-p contradiction elsewhere in the
program is left out with it. That is usually what is wanted: it
is what makes scasp/2 usable on a large program. Where it is
not -- where the answer must respect the whole program however
unrelated it looks -- name the rest of it here:
?- scasp(q, [collect((p, r(_)))]).
Only collection is affected. The query, the model and the justification are still about Query alone.