09fa0abef9
es.cpl into es.cpl esapprox.cpl into exapprox.cpl esrange.cpl into exrange.cpl git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1996 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
22 lines
231 B
Plaintext
22 lines
231 B
Plaintext
/*
|
|
s([a(X)],P).
|
|
Variables: [(1,[]),(5,[]),(2,[]),(6,[])]
|
|
P = 0.2775
|
|
X = 1 ? ;
|
|
Variables: [(3,[]),(5,[]),(4,[]),(6,[])]
|
|
P = 0.36
|
|
X = 2 ? ;
|
|
*/
|
|
|
|
a(1):0.3:-p(1).
|
|
|
|
a(1):0.3:-p(2).
|
|
|
|
a(2):0.4:-p(1).
|
|
|
|
a(2):0.4:-p(2).
|
|
|
|
p(1):0.5.
|
|
|
|
p(2):0.5.
|