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

initial commit to HG from Changeset: 646 (e263d8a21543) added further path and more save "camirversion.m"
author Daniel Wolff
date Fri, 19 Aug 2016 13:07:06 +0200
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:cc4b1211e677
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; }