Fix sprinkler probability order
This commit is contained in:
parent
ea5dbe2bca
commit
d4d11cd4b4
@ -24,16 +24,16 @@ cloudy_table(
|
||||
0.5 ]).
|
||||
|
||||
sprinkler_table(
|
||||
[ 0.5, 0.9,
|
||||
0.5, 0.1 ]).
|
||||
[ 0.1, 0.5,
|
||||
0.9, 0.5 ]).
|
||||
|
||||
rain_table(
|
||||
[ 0.8, 0.2,
|
||||
0.2, 0.8 ]).
|
||||
|
||||
wet_grass_table(
|
||||
[ 1.0, 0.1, 0.1, 0.01,
|
||||
0.0, 0.9, 0.9, 0.99 ]).
|
||||
[ 0.99, 0.9, 0.9, 0.0,
|
||||
0.01, 0.1, 0.1, 1.0 ]).
|
||||
|
||||
% ?- wet_grass(X).
|
||||
|
||||
|
Reference in New Issue
Block a user