update package locations to a subdir packages
This commit is contained in:
14
packages/cplint/examples/win.cpl
Normal file
14
packages/cplint/examples/win.cpl
Normal file
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
?- s([win(white)],P).
|
||||
P = 0.5 ?
|
||||
yes
|
||||
?- s([win(black)],P).
|
||||
P = 0.5 ?
|
||||
yes
|
||||
?- s([win(black),win(white)],P).
|
||||
P = 0 ?
|
||||
*/
|
||||
|
||||
win(white) :- \+ win(black).
|
||||
win(black):- \+ win(white).
|
||||
win(white) : 0.5 ; win(black) : 0.5.
|
Reference in New Issue
Block a user