PublicShow sourcecompile.pl -- s(ASP) Ungrounded Stable Models Solver

Read in a normal logic program. Compute dual rules and the NMR check. Execute the modified program according to the stable model semantics and output the results.

author
- Kyle Marple
version
- 20170127
license
- BSD-3
Source scasp_load(:Sources, +Options)
Load the files from Sources. Steps taken:
Arguments:
Sources- A list of paths of input files.
Source scasp_compile(:Terms, +Options) is det
Create an sCASP program from Terms.
Source scasp_compile_query(:Goal, -Query, +Options) is det
Source scasp_query(:Query) is det
True when Query is the (last) sCASP query that is part of the program.
Errors
- existence_error(scasp_query, Module)
Source scasp_query(:Query, -Bindings, +Options) is det
True when Query is the s(CASP) query as a list that includes the NMR check if required. Bindings is a list of Name=Var terms expressing the names of the variables.