net { node_size = (70 28); } node HerdLevel { label = "HerdLevel"; position = (50 400); states = ("0.70" "0.75" "0.80" "0.85" "0.90" "0.95" "0.975"); } node HeatDetect { label = "HeatDetect"; position = (230 474); states = ("Good" "Bad"); } node Heat_Diagnosis { label = "Heat_Diagnosis"; position = (230 370); states = ("Neg" "Pos"); } node Pregnant { label = "Pregnant"; position = (119 474); states = ("No" "Yes"); } node Preg_Diagnosis { label = "Preg_Diagnosis"; position = (360 370); states = ("Neg" "Pos"); } node Preg_Test { label = "Preg_Test"; position = (360 480); states = ("Good" "Bad"); } potential (HerdLevel) { data = ( 0.142857 0.142857 0.142857 0.142857 0.142857 0.142857 0.142857 ); } potential (HeatDetect) { data = ( 0.5 0.5 ); } potential (Heat_Diagnosis | Pregnant HeatDetect) { data = ((( 0.25 0.75 ) % No Good ( 0.5 0.5 )) % No Bad (( 0.99 0.01 ) % Yes Good ( 0.98 0.02 ))); % Yes Bad } potential (Pregnant | HerdLevel) { data = (( 0.3 0.7 ) % 0.70 ( 0.25 0.75 ) % 0.75 ( 0.2 0.8 ) % 0.80 ( 0.15 0.85 ) % 0.85 ( 0.1 0.9 ) % 0.90 ( 0.05 0.95 ) % 0.95 ( 0.025 0.975 )); % 0.975 } potential (Preg_Diagnosis | Pregnant Preg_Test) { data = ((( 0.85 0.15 ) % No Good ( 0.65 0.35 )) % No Bad (( 0.05 0.95 ) % Yes Good ( 0.15 0.85 ))); % Yes Bad } potential (Preg_Test) { data = ( 0.5 0.5 ); }