2:- use_module(library(pita)). 3 4:- if(current_predicate(use_rendering/1)). 5:- use_rendering(c3). 6:- use_rendering(graphviz). 7:- use_rendering(table,[header(['Multivalued variable index','Rule index','Grounding substitution'])]). 8:- endif. 9 10:- pita. 11 12:- begin_lpad. 13 14a:- b,c. 15a:- d,e. 16 17b0.3. 18abducible c. 19d0.6. 20abducible e. 21 220.1 :- c,e. 23 24:- end_lpad.
?-
abd_prob(a,Prob,Exp)
. ?-abd_bdd_dot_string(a,BDD,Var,VarA,P,Exp)
.*/