// ~->[DNET-1]->~ // File created by someone at MonashUniv using Netica 2.06 on Apr 16, 2004 at 11:30:21. bnet e2 { autoupdate = TRUE; whenchanged = 1082079018; visual V1 { defdispform = BELIEFBARS; nodelabeling = TITLE; NodeMaxNumEntries = 50; nodefont = font {shape= "Arial"; size= 10;}; linkfont = font {shape= "Arial"; size= 9;}; windowposn = (22, 22, 664, 370); resolution = 72; drawingbounds = (1046, 769); showpagebreaks = FALSE; usegrid = TRUE; gridspace = (6, 6); PrinterSetting A { margins = (1270, 1270, 1270, 1270); landscape = FALSE; magnify = 1; }; }; node Play { kind = DECISION; discrete = TRUE; chance = DETERMIN; states = (true); parents = (); functable = true; title = "Play"; whenchanged = 1081920143; belief = (1); visual V1 { center = (258, 48); height = 5; }; }; node SamplingCost { kind = UTILITY; discrete = FALSE; measure = RATIO; chance = DETERMIN; parents = (Play); functable = // Play (-12); // true ; title = "Cost of Sampling"; whenchanged = 1082076165; visual V1 { center = (444, 48); height = 6; }; }; node Type { kind = NATURE; discrete = TRUE; states = (Type1, Type2); parents = (Play); probs = // Type1 Type2 // Play ((0.8, 0.2)); // true ; title = "Urn Type"; whenchanged = 1082079013; belief = (0.8, 0.2); visual V1 { center = (126, 144); height = 1; }; }; node Draw2 { kind = NATURE; discrete = TRUE; states = (Red_Red, Black_Red, Black_Black); parents = (Type, Play); probs = // Red Red Black Red Black Black // Type Play (((0.1333334, 0.5333335, 0.3333332)), // Type1 true ((0.8, 0.2, 0))); // Type2 true ; title = "Draw 2 Balls"; whenchanged = 1082079013; belief = (0.266667, 0.466667, 0.266667); visual V1 { center = (384, 144); height = 2; }; }; node Guess { kind = DECISION; discrete = TRUE; chance = DETERMIN; states = (Type1, Type2); parents = (Play, Draw2); functable = // Play Draw2 ((Type2, // true Red Red Type1, // true Black Red Type1)); // true Black Black ; title = "Guess Urn"; whenchanged = 1082079018; visual V1 { center = (384, 264); height = 3; }; }; node U { kind = UTILITY; discrete = FALSE; measure = RATIO; chance = DETERMIN; parents = (Type, Guess); functable = // Type Guess ((40, // Type1 Type1 -5), // Type1 Type2 (-20, // Type2 Type1 100)); // Type2 Type2 ; title = "Utility"; whenchanged = 1082078614; visual V1 { center = (126, 264); height = 4; }; }; ElimOrder = (Type, Guess, Draw2, Play); };