
dyncall.pl -- This predicate assembles the clauses that are reachable from a given goal.
Issues:
scasp_show(:Query, +What)s(CASP) program. Currently
What is one of:
?- scasp_show(Query, code(user(false), constraints(true))).
scasp_query_clauses(:Query, -Clauses) is det
scasp_dynamic(:Spec) is det
scasp_assert(:Clause) is det
scasp_retract(:Clause) is nondet
scasp_retractall(:Head) is det-(Term), indicating classical negation. Also deals with global
constraints written in any of these formats:
false :- Constraint.:- Constraint.
scasp_abolish(:PredicateIndicator) is det
#(:Directive)s(CASP) directives. Same as :- Directive.. Provides
compatibility with sCASP sources as normally found.
abducible(:Spec)
#=(?A, ?B)
#<>(?A, ?B)
#<(?A, ?B)
#>(?A, ?B)
#>=(?A, ?B)
#=<(?A, ?B)s(CASP) constraints. This implementation is
normally not used and mostly makes the program analysis work.
scasp(:Query, +Options) is nondets(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.The following predicates are exported from this file while their implementation is defined in imported modules or non-module files loaded by this module.
scasp_assert(:Clause) is det
scasp_retract(:Clause) is nondet
scasp_retractall(:Head) is det-(Term), indicating classical negation. Also deals with global
constraints written in any of these formats:
false :- Constraint.:- Constraint.
scasp_assert(:Clause) is det
scasp_retract(:Clause) is nondet
scasp_retractall(:Head) is det-(Term), indicating classical negation. Also deals with global
constraints written in any of these formats:
false :- Constraint.:- Constraint.
#=(?A, ?B)
#<>(?A, ?B)
#<(?A, ?B)
#>(?A, ?B)
#>=(?A, ?B)
#=<(?A, ?B)s(CASP) constraints. This implementation is
normally not used and mostly makes the program analysis work.
#=(?A, ?B)
#<>(?A, ?B)
#<(?A, ?B)
#>(?A, ?B)
#>=(?A, ?B)
#=<(?A, ?B)s(CASP) constraints. This implementation is
normally not used and mostly makes the program analysis work.
#=(?A, ?B)
#<>(?A, ?B)
#<(?A, ?B)
#>(?A, ?B)
#>=(?A, ?B)
#=<(?A, ?B)s(CASP) constraints. This implementation is
normally not used and mostly makes the program analysis work.
#=(?A, ?B)
#<>(?A, ?B)
#<(?A, ?B)
#>(?A, ?B)
#>=(?A, ?B)
#=<(?A, ?B)s(CASP) constraints. This implementation is
normally not used and mostly makes the program analysis work.
#=(?A, ?B)
#<>(?A, ?B)
#<(?A, ?B)
#>(?A, ?B)
#>=(?A, ?B)
#=<(?A, ?B)s(CASP) constraints. This implementation is
normally not used and mostly makes the program analysis work.
scasp_model(:Model) is semidet
scasp_model(:Model, +Options) is semidet
scasp_justification(:Tree, +Options) is semidetThe following predicates are exported, but not or incorrectly documented.
#(Arg1, Arg2)
show(Arg1)
abducible(Arg1, Arg2)
pred(Arg1)
scasp_assert(Arg1, Arg2)