diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/toolboxes/FullBNT-1.0.7/bnt/examples/static/Misc/sprinkler.bif	Fri Aug 19 13:07:06 2016 +0200
@@ -0,0 +1,18 @@
+network Grass
+    {}
+variable Cloudy
+    { type discrete[2] {false true}; }
+variable Sprinkler
+    { type discrete[2] {false true}; }
+variable Rain
+    { type discrete[2] {false true}; }
+variable WetGrass
+    { type discrete[2] {false true}; }
+probability (Cloudy)
+    { table 0.5 0.5; }
+probability (Sprinkler | Cloudy)
+    { table 0.5 0.9 0.5 0.1; }
+probability (Rain | Cloudy)
+    { table 0.8 0.2 0.2 0.8; }
+probability (WetGrass | Rain Sprinkler)
+    { table 1.0 0.1 0.1 0.01 0.0 0.9 0.9 0.99; }