net { node_size = (90 40); HR_Zoom_ZoomFactor = "100"; HR_Grid_X = "10"; HR_Grid_Y = "10"; HR_Grid_GridSnap = "1"; HR_Grid_GridShow = "0"; HR_Font_Name = "Arial"; HR_Font_Size = "-12"; HR_Font_Weight = "400"; HR_Font_Italic = "0"; HR_Propagate_Auto = "0"; HR_Propagate_AutoSum = "1"; HR_Propagate_AutoNormal = "1"; HR_Compile_TriangMethod = "0"; HR_Compile_Compress = "0"; HR_Compile_Approximate = "0"; HR_Compile_ApproxEpsilon = "0.00001"; HR_Monitor_AutoUpdGraph = "0"; HR_Monitor_GraphPrecision = "100"; HR_Monitor_OpenGraph = "0"; HR_Monitor_InitStates = "5"; HR_Monitor_InitSD = "2"; HR_Color_DiscreteChance = "16"; HR_Color_ContinuosChance = "48"; HR_Color_Utility = "36"; HR_Color_Decision = "17"; HR_Groups_UserGroupsNo = "0"; HR_Groups_GroupNames = ""; HR_Groups_GroupColors = ""; label = "bloodtyping"; name = "/user/anders/Hugin/Domains/BOBLO/BOBLO.hkb"; } node f3 { label = "factor 3 (F3)"; position = (295 93); states = ("present" "absent"); } node f2 { label = "factor 2 (F2)"; position = (134 94); states = ("present" "absent"); } node asts2 { label = "pheno st 2 sire"; position = (422 395); states = ("f1" "f2" "f3"); } node asts1 { label = "pheno st 1 sire"; position = (287 395); states = ("f1" "f2" "f3"); } node astd2 { label = "pheno st 2 dam"; position = (151 395); states = ("f1" "f2" "f3"); } node astd1 { label = "pheno st 1 dam"; position = (17 395); states = ("f1" "f2" "f3"); } node sc { label = "sire correct?"; position = (358 473); states = ("yes" "no"); } node dc { label = "dam correct?"; position = (101 485); states = ("yes" "no"); } node pe { label = "parental error"; position = (227 565); states = ("both incorrect" "sire incorrect" "dam incorrect" "no error"); } node f1 { label = "factor 1 (F1)"; position = (0 94); states = ("present" "absent"); } node atd2 { label = "pheno true 2 dam"; position = (151 334); states = ("f1" "f2" "f3"); } node atd1 { label = "pheno true dam"; position = (17 334); states = ("f1" "f2" "f3"); } node ats2 { label = "pheno true 2 sire"; position = (422 334); states = ("f1" "f2" "f3"); } node ats1 { label = "pheno true sire"; position = (287 334); states = ("f1" "f2" "f3"); } node aph2 { label = "pheno grp offspring"; position = (354 275); states = ("f1" "f2" "f3"); } node aph1 { label = "pheno grp offspring"; position = (84 275); states = ("f1" "f2" "f3"); } node ageno { label = "genotype offspring"; position = (220 215); states = ("f1/f1" "f1/f2" "f1/f3" "f2/f2" "f2/f3" "f3/f3"); } node f4 { label = "factor 4 (F4)"; position = (438 93); states = ("present" "absent"); } node node20 { label = "mistake?"; position = (0 19); states = ("yes" "no"); } node node21 { label = "mistake?"; position = (134 17); states = ("yes" "no"); } node node22 { label = "mistake?"; position = (295 17); states = ("yes" "no"); } node node23 { label = "mistake?"; position = (438 15); states = ("yes" "no"); } potential (f3 | ageno node22) { data = ((( 0.5 0.5 ) % ageno=f1/f1 node22=yes ( 0 1 )) % ageno=f1/f1 node22=no (( 0.5 0.5 ) % ageno=f1/f2 node22=yes ( 1 0 )) % ageno=f1/f2 node22=no (( 0.5 0.5 ) % ageno=f1/f3 node22=yes ( 0 1 )) % ageno=f1/f3 node22=no (( 0.5 0.5 ) % ageno=f2/f2 node22=yes ( 1 0 )) % ageno=f2/f2 node22=no (( 0.5 0.5 ) % ageno=f2/f3 node22=yes ( 1 0 )) % ageno=f2/f3 node22=no (( 0.5 0.5 ) % ageno=f3/f3 node22=yes ( 0 1 ))); % ageno=f3/f3 node22=no } potential (f2 | ageno node21) { data = ((( 0.5 0.5 ) % ageno=f1/f1 node21=yes ( 1 0 )) % ageno=f1/f1 node21=no (( 0.5 0.5 ) % ageno=f1/f2 node21=yes ( 1 0 )) % ageno=f1/f2 node21=no (( 0.5 0.5 ) % ageno=f1/f3 node21=yes ( 1 0 )) % ageno=f1/f3 node21=no (( 0.5 0.5 ) % ageno=f2/f2 node21=yes ( 0 1 )) % ageno=f2/f2 node21=no (( 0.5 0.5 ) % ageno=f2/f3 node21=yes ( 1 0 )) % ageno=f2/f3 node21=no (( 0.5 0.5 ) % ageno=f3/f3 node21=yes ( 1 0 ))); % ageno=f3/f3 node21=no } potential (asts2 | sc ats2) { data = ((( 0.999 0.0005 0.0005 ) % sc=yes ats2=f1 ( 0.0005 0.999 0.0005 ) % sc=yes ats2=f2 ( 0.0005 0.0005 0.999 )) % sc=yes ats2=f3 (( 0.58 0.1 0.32 ) % sc=no ats2=f1 ( 0.58 0.1 0.32 ) % sc=no ats2=f2 ( 0.58 0.1 0.32 ))); % sc=no ats2=f3 } potential (asts1 | sc ats1) { data = ((( 0.999 0.0005 0.0005 ) % sc=yes ats1=f1 ( 0.0005 0.999 0.0005 ) % sc=yes ats1=f2 ( 0.0005 0.0005 0.999 )) % sc=yes ats1=f3 (( 0.58 0.1 0.32 ) % sc=no ats1=f1 ( 0.58 0.1 0.32 ) % sc=no ats1=f2 ( 0.58 0.1 0.32 ))); % sc=no ats1=f3 } potential (astd2 | dc atd2) { data = ((( 0.999 0.0005 0.0005 ) % dc=yes atd2=f1 ( 0.0005 0.999 0.0005 ) % dc=yes atd2=f2 ( 0.0005 0.0005 0.999 )) % dc=yes atd2=f3 (( 0.58 0.1 0.32 ) % dc=no atd2=f1 ( 0.58 0.1 0.32 ) % dc=no atd2=f2 ( 0.58 0.1 0.32 ))); % dc=no atd2=f3 } potential (astd1 | dc atd1) { data = ((( 0.999 0.0005 0.0005 ) % dc=yes atd1=f1 ( 0.0005 0.999 0.0005 ) % dc=yes atd1=f2 ( 0.0005 0.0005 0.999 )) % dc=yes atd1=f3 (( 0.58 0.1 0.32 ) % dc=no atd1=f1 ( 0.58 0.1 0.32 ) % dc=no atd1=f2 ( 0.58 0.1 0.32 ))); % dc=no atd1=f3 } potential (sc | pe) { data = (( 0 1 ) % pe=both incorrect ( 0 1 ) % pe=sire incorrect ( 1 0 ) % pe=dam incorrect ( 1 0 )); % pe=no error } potential (dc | pe) { data = (( 0 1 ) % pe=both incorrect ( 1 0 ) % pe=sire incorrect ( 0 1 ) % pe=dam incorrect ( 1 0 )); % pe=no error } potential (pe) { data = ( 0.0045 0.0125 0.0018 0.9812 ); } potential (f1 | ageno node20) { data = ((( 0.5 0.5 ) % ageno=f1/f1 node20=yes ( 1 0 )) % ageno=f1/f1 node20=no (( 0.5 0.5 ) % ageno=f1/f2 node20=yes ( 1 0 )) % ageno=f1/f2 node20=no (( 0.5 0.5 ) % ageno=f1/f3 node20=yes ( 1 0 )) % ageno=f1/f3 node20=no (( 0.5 0.5 ) % ageno=f2/f2 node20=yes ( 0 1 )) % ageno=f2/f2 node20=no (( 0.5 0.5 ) % ageno=f2/f3 node20=yes ( 0 1 )) % ageno=f2/f3 node20=no (( 0.5 0.5 ) % ageno=f3/f3 node20=yes ( 0 1 ))); % ageno=f3/f3 node20=no } potential (atd2) { data = ( 0.58 0.1 0.32 ); } potential (atd1) { data = ( 0.58 0.1 0.32 ); } potential (ats2) { data = ( 0.58 0.1 0.32 ); } potential (ats1) { data = ( 0.58 0.1 0.32 ); } potential (aph2 | ats1 ats2) { data = ((( 1 0 0 ) % ats1=f1 ats2=f1 ( 0.5 0.5 0 ) % ats1=f1 ats2=f2 ( 0.5 0 0.5 )) % ats1=f1 ats2=f3 (( 0.5 0.5 0 ) % ats1=f2 ats2=f1 ( 0 1 0 ) % ats1=f2 ats2=f2 ( 0 0.5 0.5 )) % ats1=f2 ats2=f3 (( 0.5 0 0.5 ) % ats1=f3 ats2=f1 ( 0 0.5 0.5 ) % ats1=f3 ats2=f2 ( 0 0 1 ))); % ats1=f3 ats2=f3 } potential (aph1 | atd1 atd2) { data = ((( 1 0 0 ) % atd1=f1 atd2=f1 ( 0.5 0.5 0 ) % atd1=f1 atd2=f2 ( 0.5 0 0.5 )) % atd1=f1 atd2=f3 (( 0.5 0.5 0 ) % atd1=f2 atd2=f1 ( 0 1 0 ) % atd1=f2 atd2=f2 ( 0 0.5 0.5 )) % atd1=f2 atd2=f3 (( 0.5 0 0.5 ) % atd1=f3 atd2=f1 ( 0 0.5 0.5 ) % atd1=f3 atd2=f2 ( 0 0 1 ))); % atd1=f3 atd2=f3 } potential (ageno | aph1 aph2) { data = ((( 1 0 0 0 0 0 ) % aph1=f1 aph2=f1 ( 0 1 0 0 0 0 ) % aph1=f1 aph2=f2 ( 0 0 1 0 0 0 )) % aph1=f1 aph2=f3 (( 0 1 0 0 0 0 ) % aph1=f2 aph2=f1 ( 0 0 0 1 0 0 ) % aph1=f2 aph2=f2 ( 0 0 0 0 1 0 )) % aph1=f2 aph2=f3 (( 0 0 1 0 0 0 ) % aph1=f3 aph2=f1 ( 0 0 0 0 1 0 ) % aph1=f3 aph2=f2 ( 0 0 0 0 0 1 ))); % aph1=f3 aph2=f3 } potential (f4 | ageno node23) { data = ((( 0.5 0.5 ) % ageno=f1/f1 node23=yes ( 1 0 )) % ageno=f1/f1 node23=no (( 0.5 0.5 ) % ageno=f1/f2 node23=yes ( 1 0 )) % ageno=f1/f2 node23=no (( 0.5 0.5 ) % ageno=f1/f3 node23=yes ( 1 0 )) % ageno=f1/f3 node23=no (( 0.5 0.5 ) % ageno=f2/f2 node23=yes ( 1 0 )) % ageno=f2/f2 node23=no (( 0.5 0.5 ) % ageno=f2/f3 node23=yes ( 1 0 )) % ageno=f2/f3 node23=no (( 0.5 0.5 ) % ageno=f3/f3 node23=yes ( 0 1 ))); % ageno=f3/f3 node23=no } potential (node20) { data = ( 0.001 0.999 ); } potential (node21) { data = ( 0.001 0.999 ); } potential (node22) { data = ( 0.001 0.999 ); } potential (node23) { data = ( 0.001 0.999 ); }