// ~->[DNET-1]->~ // File created by someone at MonashUniv using Netica 2.06 on Apr 14, 2004 at 16:07:42. bnet es_wrong { autoupdate = TRUE; whenchanged = 1081922815; 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 Type { kind = NATURE; discrete = TRUE; states = (Type1, Type2); parents = (); probs = // Type1 Type2 (0.8, 0.2); title = "Urn Type"; whenchanged = 1081916866; belief = (0.8, 0.2); visual V1 { center = (126, 144); height = 1; }; }; node Draw1 { kind = NATURE; discrete = TRUE; states = (Red, Black); parents = (Type); probs = // Red Black // Type ((0.4, 0.6), // Type1 (0.9, 0.1)); // Type2 ; title = "Draw 1 Ball"; whenchanged = 1081922452; belief = (0.5, 0.5); visual V1 { center = (384, 144); height = 2; }; }; node Continue { kind = DECISION; discrete = TRUE; states = (true, false); parents = (Draw1); functable = // Draw1 (false, // Red false); // Black ; title = "Continue"; whenchanged = 1081922433; belief = (1, 0); visual V1 { center = (606, 144); height = 5; }; }; node Replacement { kind = DECISION; discrete = TRUE; chance = DETERMIN; states = (true, false); parents = (Draw1, Continue); functable = // Draw1 Continue ((false, // Red true false), // Red false (true, // Black true true)); // Black false ; whenchanged = 1081921834; visual V1 { center = (606, 264); height = 6; link 1 { path = ((433, 172), (556, 237)); }; }; }; node Draw2 { kind = NATURE; discrete = TRUE; chance = CHANCE; states = (Red, Black); parents = (Type, Replacement, Draw1); probs = // Red Black // Type Replacement Draw1 ((((0.4, 0.6), // Type1 true Red (0.4, 0.6)), // Type1 true Black ((0.3333333, 0.6666667), // Type1 false Red (0.4444444, 0.5555555))), // Type1 false Black (((0.9, 0.1), // Type2 true Red (0.9, 0.1)), // Type2 true Black ((0.8888898, 0.1111101), // Type2 false Red (1, 0)))); // Type2 false Black ; title = "Draw Another Ball"; whenchanged = 1081922815; belief = (0.5, 0.5); visual V1 { center = (600, 378); height = 7; link 1 { path = ((180, 172), (545, 351)); }; link 3 { path = ((408, 172), (575, 351)); }; }; }; node Guess { kind = DECISION; discrete = TRUE; chance = DETERMIN; states = (Type1, Type2); parents = (Draw1, Continue, Replacement, Draw2); functable = // Draw1 Continue Replacement Draw2 ((((Type2, // Red true true Red Type1), // Red true true Black (Type2, // Red true false Red Type1)), // Red true false Black ((Type2, // Red false true Red Type1), // Red false true Black (Type2, // Red false false Red Type1))), // Red false false Black (((Type1, // Black true true Red Type1), // Black true true Black (Type1, // Black true false Red Type1)), // Black true false Black ((Type1, // Black false true Red Type1), // Black false true Black (Type1, // Black false false Red Type1)))); // Black false false Black ; title = "Guess Urn"; whenchanged = 1081921583; visual V1 { center = (126, 378); height = 8; }; }; node U { kind = UTILITY; discrete = FALSE; measure = RATIO; chance = DETERMIN; parents = (Type, Guess, Continue); functable = // Type Guess Continue (((26.5, // Type1 Type1 true 31), // Type1 Type1 false (-18.5, // Type1 Type2 true -14)), // Type1 Type2 false ((-33.5, // Type2 Type1 true -29), // Type2 Type1 false (86.5, // Type2 Type2 true 91))); // Type2 Type2 false ; title = "Utility"; whenchanged = 1081921718; visual V1 { center = (126, 264); height = 3; }; }; 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 = 4; }; }; ElimOrder = (Type, Play, Guess, Draw2, Replacement, Continue, Draw1); };