该仓库已于 2023-08-20 归档。您可以查看文件或克隆它,但不能推送、创建工单或合并请求。
2009-02-16 12:23:29 +00:00

33 行
280 B
Plaintext

/*
semlpad.pl
ground_body(false)
?- s([a],P).
P = 0.18 ?
ground_body(true)
?- s([a],P).
P = 0.19 ?
yes
yes
lpad.pl
ground_body(false)
?- s([a],P).
P = 0.02 ?
yes
ground_body(true)
?- s([a],P).
P = 0.19 ?
yes
*/
a:0.5 :- p(X).
p(X):0.2 :- c(X).
c(1).
c(2).