82838485868788
// cloudy 0.29, // snow 0.01 }); return new BayesNet(cavity, weather); }
101102103104105106107
0.009986199723994478, // M=false, S=false 0.9900138002760055 }, meningitis); return new BayesNet(meningitis); }
149150151152153154155
// A=false, M=true 0.01, // A=false, M=false 0.99 }, alarm); return new BayesNet(burglary, earthquake); }
194195196197198199200
// Sprinkler=false, Rain=false, WetGrass=true 0.0, // Sprinkler=false, Rain=false, WetGrass=false 1.0 }, sprinkler, rain); return new BayesNet(cloudy); }