Did you know ... Search Documentation:
Pack scasp -- prolog/scasp.pl
PublicShow source

While library(scasp/main) is used to build the scasp executable, this library (library(scasp)) is used to embed or dynamically create s(CASP) programs in Prolog and query them from Prolog.

 ?--(:Query)
 ?+-(:Query)
 ?-+(:Query)
 ?++(:Query)
 ??+-(:Query)
 ??-+(:Query)
 ??++(:Query)
Shortcuts for scasp/1 that control printing the model and/or tree and the format. The +/- control whether the model and/or tree are printed (in that order). The ?? versions print the human version.

Undocumented predicates

The following predicates are exported, but not or incorrectly documented.

 scasp(Arg1, Arg2)
 ?(Arg1)
 ??(Arg1)
 ?+-(Arg1)
 ?-+(Arg1)
 ?++(Arg1)
 ??+-(Arg1)
 ??-+(Arg1)
 ??++(Arg1)
 scasp_show(Arg1, Arg2)
 scasp_dynamic(Arg1)
 scasp_assert(Arg1)
 scasp_assert(Arg1, Arg2)
 scasp_retract(Arg1)
 scasp_retractall(Arg1)
 scasp_abolish(Arg1)
 #(Arg1)
 Arg1 # Arg2
 pred(Arg1)
 show(Arg1)
 abducible(Arg1)
 abducible(Arg1, Arg2)
 begin_scasp(Arg1)
 begin_scasp(Arg1, Arg2)
 end_scasp
 scasp_listing(Arg1, Arg2)
 scasp_model(Arg1)
 scasp_stack(Arg1)
 scasp_justification(Arg1, Arg2)
 not(Arg1)
 - Arg1
 #=(Arg1, Arg2)
 #<>(Arg1, Arg2)
 #<(Arg1, Arg2)
 #>(Arg1, Arg2)
 #=<(Arg1, Arg2)
 #>=(Arg1, Arg2)