Mercurial > hg > camir-aes2014
diff 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 |
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 Tue Feb 10 15:05:51 2015 +0000 @@ -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; }