scasp

Prolog files

call_graph.pl  -- Build the call graph used for NMR check construction and indexing.Show source
common.pl  -- Common predicates used in multiple filesShow source
comp_duals.pl  -- Dual rule computationShow source
compile.pl  -- s(ASP) Ungrounded Stable Models SolverShow source
dyncall.pl  -- Show source
embed.pl  -- Embed sCASP programs in Prolog sourcesShow source
gxref_called/2Hook into gxref/0 that may extend the notion of predicates being called by some infrastructure.Source
-/1sCASP classical negation.Source
begin_scasp/1Start an embedded sCASP program.Source
begin_scasp/2Start an embedded sCASP program.Source
end_scasp/0Close begin_scasp/1,2.Source
not/1sCASP NaF negation.Source
scasp_call/1Solve an sCASP goal from the interactive toplevel.Source
scasp_justification/2Justification for the current sCASP answer.Source
scasp_listing/2List the transformed program for Unit.Source
scasp_model/1True when Model represents the current set of true and false literals.Source
scasp_model/2True when Model represents the current set of true and false literals.Source
scasp_stack/1True when Stack represents the justification of the current sCASP answer.Source
html.pl  -- Render s(CASP) justification as HTMLShow source
html_text.pl  -- Switch between HTML and plain text outputShow source
human.pl  -- Print s(CASP) output in human languageShow source
input.pl  -- Read SASP source codeShow source
listing.plShow source
messages.plShow source
model.pl  -- sCASP model handlingShow source
modules.pl  -- Encode modulesShow source
encoded_module_term/2Source
model_term_module/2Source
scasp_encoded_module_term/2Map an explicit Prolog module qualification into one that is encoded in the functor name.Source
unqualify_model_term/3Source
nmr_check.pl  -- Detect OLON rules and construct nmr_checkShow source
ops.plShow source
options.pl  -- (Command line) option handling for sCASPShow source
scasp_help/0Print command line option help.Source
scasp_opt_help/2Allow reusing scasp option processing.Source
scasp_opt_meta/2Allow reusing scasp option processing.Source
scasp_opt_type/3Allow reusing scasp option processing.Source
scasp_parse_args/3Select from the list of arguments in Args which are the user-options, Options and which are the program files, Sources.Source
scasp_set_options/1Set Prolog flags that control the solver from Options.Source
scasp_set_options/2Set Prolog flags that control the solver from Options.Source
scasp_version/1print the current version of s(CASP).Source
output.pl  -- Emit sCASP termsShow source
pr_rules.pl  -- Output formatting and printing.Show source
predicates.pl  -- Basic information about sCASP predicatesShow source
clp_builtin/1Success if Goal is a builtin constraint predicate.Source
clp_interval/1Success if Goal is a builtin constraint predicate to extract interval limits.Source
prolog_builtin/1Success if Goal is a builtin prolog predicate (the compiler introduced its dual).Source
scasp_compiled/1True when Head is part of the transformed representation.Source
table_predicate/1Success if Goal is defined as a tabled predicate with the directive :- table pred/n..Source
user_predicate/1Success if Goal is a user predicate.Source
program.pl  -- Input program accessShow source
solve.pl  -- The sCASP solverShow source
solve/4Solve the list of sub-goals Goal where StackIn is the list of goals already visited and returns in StackOut the list of goals visited to prove the sub-goals and in Model the model that supports the sub-goals.Source
source_ref.pl  -- s(CASP) source referencesShow source
scasp_dynamic_clause_position/2True when Pos is the stream position is which the source code for the dynamic clause referenced by Ref was read.Source
stack.plShow source
justification_tree/3Process Stack as produced by solve/4 into a justification tree.Source
print_justification_tree/1Print the justification tree as returned by justification_tree/3 or scasp_justification/2.Source
print_justification_tree/2Print the justification tree as returned by justification_tree/3 or scasp_justification/2.Source
unqualify_justitication_tree/3Unqualify the nodes in TreeIn, turning the nodes qualified to module Module into plain nodes.Source
swish.pl  -- s(CASP) adapter for SWISHShow source
variables.pl  -- Variable storage and accessShow source
body_vars/3Get the body variables (variables used in the body but not in the head) for a clause.Source
is_var/1Test an entry to see if it's a variable (the first non-underscore is an upper-case letter.Source
is_var/2Test an entry to see if it's a variable (the first non-underscore is an upper-case letter.Source
revar/3If Term is a term that contains atoms using variable syntax ([A-Z].*), VarTerm is a copy of Term with all such atoms replaced by variables.Source
var_list/2Get a list of N variables, each of which is different.Source
verbose.pl  -- Print goal and stack in Ciao compatible formatShow source
print_check_calls_calling/2Auxiliar predicate to print StackIn the current stack and Goal.Source
print_goal/1Print an sCASP goal.Source
scasp_info/2Emit an informational through print_message/2.Source
scasp_trace/2Emit a debug messages through print_message/2.Source
scasp_warning/1Emit a warning through print_message/2.Source
scasp_warning/2Emit a warning through print_message/2.Source