// ~->[DNET-1]->~ // File created by someone at MonashUniv using Netica 2.06 on Apr 16, 2004 at 11:31:29. bnet es { autoupdate = TRUE; whenchanged = 1082079044; visual V1 { defdispform = BELIEFBARS; nodelabeling = TITLE; NodeMaxNumEntries = 50; nodefont = font {shape= "Arial"; size= 10;}; linkfont = font {shape= "Arial"; size= 9;}; windowposn = (22, 22, 778, 494); 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 = 2; }; }; node Sampling { kind = UTILITY; discrete = FALSE; measure = RATIO; chance = DETERMIN; parents = (Play); functable = // Play (-9); // true ; title = "Sampling Cost"; whenchanged = 1082076063; visual V1 { center = (426, 48); height = 4; }; }; node Type { kind = NATURE; discrete = TRUE; states = (Type1, Type2); parents = (Play); probs = // Type1 Type2 // Play ((0.8, 0.2)); // true ; title = "Urn Type"; whenchanged = 1082079038; belief = (0.8, 0.2); visual V1 { center = (126, 156); height = 5; }; }; node Draw1 { kind = NATURE; discrete = TRUE; states = (Red, Black); parents = (Type, Play); probs = // Red Black // Type Play (((0.4, 0.6)), // Type1 true ((0.9, 0.1))); // Type2 true ; title = "Draw 1 Ball"; whenchanged = 1082079038; belief = (0.5, 0.5); visual V1 { center = (384, 156); height = 6; }; }; node Continue { kind = DECISION; discrete = TRUE; states = (true, false); parents = (Play, Draw1); functable = // Play Draw1 ((true, // true Red false)); // true Black ; title = "Continue"; whenchanged = 1082079044; belief = (1, 0); visual V1 { center = (606, 156); height = 7; }; }; node Replacement { kind = DECISION; discrete = TRUE; chance = DETERMIN; states = (true, false); parents = (Play, Draw1, Continue); functable = // Play Draw1 Continue (((false, // true Red true true), // true Red false (true, // true Black true true))); // true Black false ; whenchanged = 1082079044; belief = (0, 1); visual V1 { center = (606, 276); height = 8; link 2 { path = ((433, 184), (556, 249)); }; }; }; node Draw2 { kind = NATURE; discrete = TRUE; states = (Red, Black, None); parents = (Type, Continue, Replacement, Draw1, Play); probs = // Red Black None // Type Continue Replacement Draw1 Play ((((((0.4, 0.6, 0)), // Type1 true true Red true ((0.4, 0.6, 0))), // Type1 true true Black true (((0.3333333, 0.6666667, 0)), // Type1 true false Red true ((0.4444447, 0.5555553, 0)))), // Type1 true false Black true ((((0, 0, 1)), // Type1 false true Red true ((0, 0, 1))), // Type1 false true Black true (((0, 0, 1)), // Type1 false false Red true ((0, 0, 1))))), // Type1 false false Black true (((((0.9, 0.1, 0)), // Type2 true true Red true ((0.9, 0.1, 0))), // Type2 true true Black true (((0.8888888, 0.1111112, 0)), // Type2 true false Red true ((1, 0, 0)))), // Type2 true false Black true ((((0, 0, 1)), // Type2 false true Red true ((0, 0, 1))), // Type2 false true Black true (((0, 0, 1)), // Type2 false false Red true ((0, 0, 1)))))); // Type2 false false Black true ; title = "Draw Another Ball"; whenchanged = 1082079038; belief = (0.25, 0.25, 0.5); visual V1 { center = (444, 390); height = 10; }; }; node Guess { kind = DECISION; discrete = TRUE; chance = DETERMIN; states = (Type1, Type2); parents = (Play, Draw1, Continue, Replacement, Draw2); functable = // Play Draw1 Continue Replacement Draw2 (((((Type2, // true Red true true Red Type1, // true Red true true Black Type1), // true Red true true None (Type2, // true Red true false Red Type1, // true Red true false Black Type1)), // true Red true false None ((Type1, // true Red false true Red Type1, // true Red false true Black Type2), // true Red false true None (Type1, // true Red false false Red Type1, // true Red false false Black Type2))), // true Red false false None (((Type1, // true Black true true Red Type1, // true Black true true Black Type1), // true Black true true None (Type1, // true Black true false Red Type1, // true Black true false Black Type1)), // true Black true false None ((Type1, // true Black false true Red Type1, // true Black false true Black Type1), // true Black false true None (Type1, // true Black false false Red Type1, // true Black false false Black Type1))))); // true Black false false None ; title = "Guess Urn"; whenchanged = 1082079044; visual V1 { center = (126, 390); height = 9; }; }; 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 = 1082078634; visual V1 { center = (126, 264); height = 1; }; }; node ExtraSampling { kind = UTILITY; discrete = FALSE; measure = RATIO; chance = DETERMIN; parents = (Continue); functable = // Continue (-4.5, // true 0); // false ; title = "Extra Sampling Cost"; whenchanged = 1082076000; visual V1 { center = (828, 144); height = 3; }; }; ElimOrder = (Type, Guess, Draw2, Replacement, Continue, Draw1, Play); };