comparison toolboxes/FullBNT-1.0.7/bnt/examples/static/Misc/sprinkler.bif @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:e9a9cd732c1e
1 network Grass
2 {}
3 variable Cloudy
4 { type discrete[2] {false true}; }
5 variable Sprinkler
6 { type discrete[2] {false true}; }
7 variable Rain
8 { type discrete[2] {false true}; }
9 variable WetGrass
10 { type discrete[2] {false true}; }
11 probability (Cloudy)
12 { table 0.5 0.5; }
13 probability (Sprinkler | Cloudy)
14 { table 0.5 0.9 0.5 0.1; }
15 probability (Rain | Cloudy)
16 { table 0.8 0.2 0.2 0.8; }
17 probability (WetGrass | Rain Sprinkler)
18 { table 1.0 0.1 0.1 0.01 0.0 0.9 0.9 0.99; }