class asia2 { inputs = (); outputs = (); node_size = (80 40); HR_Desc = ""; HR_OOBN_FitExpand = "1"; HR_Zoom_ZoomFactor = "100"; HR_Groups_GroupColors = ""; HR_Groups_GroupNames = ""; HR_Groups_UserGroupsNo = "0"; HR_Color_Interface = "21"; HR_Color_Instance = "0"; HR_Color_Utility = "36"; HR_Color_Decision = "17"; HR_Color_ContinuousChance = "48"; HR_Color_DiscreteChance = "16"; HR_Monitor_InitSD = "2"; HR_Monitor_InitStates = "5"; HR_Monitor_OpenGraph = "0"; HR_Monitor_GraphPrecision = "100"; HR_Monitor_AutoUpdGraph = "0"; HR_Compile_MaxMinimalSeparators = "100000"; HR_Compile_ApproxEpsilon = "1.0E-5"; HR_Compile_Approximate = "0"; HR_Compile_Compress = "0"; HR_Compile_TriangMethod = "0"; HR_Propagate_AutoNormal = "1"; HR_Propagate_AutoSum = "1"; HR_Propagate_Auto = "1"; HR_Font_Italic = "0"; HR_Font_Weight = "400"; HR_Font_Size = "-12"; HR_Font_Name = "Arial"; HR_Grid_GridShow = "0"; HR_Grid_GridSnap = "0"; HR_Grid_Y = "40"; HR_Grid_X = "40"; node Dyspnoea { label = "Dyspnoea"; position = (263 474); states = ("Present" "Absent"); HR_Desc = ""; HR_State_1 = ""; HR_State_0 = ""; } node Xray { label = "Xray Result"; position = (83 472); states = ("Abnormal" "Normal"); HR_Desc = ""; HR_State_1 = ""; HR_State_0 = ""; } node Bronchitis { label = "Bronchitis"; position = (452 226); states = ("Present" "Absent"); HR_Desc = ""; HR_State_1 = ""; HR_State_0 = ""; } node LungCancer { label = "Lung Cancer"; position = (269 228); states = ("Present" "Absent"); HR_Desc = ""; HR_State_1 = ""; HR_State_0 = ""; } node Tuberculosis { label = "Tuberculosis"; position = (103 230); states = ("Present" "Absent"); HR_State_1 = ""; HR_State_0 = ""; HR_Desc = ""; } node Smoking { label = "Smoking"; position = (458 107); states = ("Smoker" "NonSmoker"); HR_Desc = ""; HR_State_1 = ""; HR_State_0 = ""; } node Pollution { label = "Pollution"; position = (279 101); states = ("Low" "High"); HR_State_1 = ""; HR_State_0 = ""; HR_Desc = ""; } node VisitAsia { label = "Visit To Asia"; position = (120 106); states = ("Visit" "No Visit"); HR_State_1 = ""; HR_State_0 = ""; HR_Desc = ""; } potential (Dyspnoea | LungCancer Tuberculosis Bronchitis) { data = (((( 90 10 ) % LungCancer=Present Tuberculosis=Present Bronchitis=Present ( 70 30 )) % LungCancer=Present Tuberculosis=Present Bronchitis=Absent (( 90 10 ) % LungCancer=Present Tuberculosis=Absent Bronchitis=Present ( 70 30 ))) % LungCancer=Present Tuberculosis=Absent Bronchitis=Absent ((( 90 10 ) % LungCancer=Absent Tuberculosis=Present Bronchitis=Present ( 70 30 )) % LungCancer=Absent Tuberculosis=Present Bronchitis=Absent (( 80 20 ) % LungCancer=Absent Tuberculosis=Absent Bronchitis=Present ( 10 90 )))); % LungCancer=Absent Tuberculosis=Absent Bronchitis=Absent } potential (Xray | LungCancer Tuberculosis) { data = ((( 98 2 ) % LungCancer=Present Tuberculosis=Present ( 98 2 )) % LungCancer=Present Tuberculosis=Absent (( 98 2 ) % LungCancer=Absent Tuberculosis=Present ( 5 95 ))); % LungCancer=Absent Tuberculosis=Absent } potential (Bronchitis | Smoking) { data = (( 60 40 ) % Smoking=Smoker ( 30 70 )); % Smoking=NonSmoker } potential (LungCancer | Smoking Pollution) { data = ((( 0.1 0.9 ) % Smoking=Smoker Pollution=Low ( 0.15 0.85 )) % Smoking=Smoker Pollution=High (( 0.01 0.99 ) % Smoking=NonSmoker Pollution=Low ( 0.02 0.98 ))); % Smoking=NonSmoker Pollution=High } potential (Tuberculosis | VisitAsia) { data = (( 0.05 0.95 ) % VisitAsia=Visit ( 0.01 0.99 )); % VisitAsia=No Visit } potential (Smoking) { data = ( 0.5 0.5 ); } potential (Pollution) { data = ( 0.9 0.1 ); } potential (VisitAsia) { data = ( 0.01 0.99 ); } } % class asia2