<?xml version="1.0" encoding="ISO-8859-1"?>
<smile version="1.0" id="Asia" numsamples="10000" discsamples="10000">
	<nodes>
		<cpt id="VisitToAsia">
			<state id="NoVisit" />
			<state id="Visit" />
			<probabilities>0.99 0.01</probabilities>
		</cpt>
		<cpt id="Tuberculosis">
			<state id="Absent" />
			<state id="Present" />
			<parents>VisitToAsia</parents>
			<probabilities>0.99 0.01 0.95 0.05</probabilities>
		</cpt>
		<decision id="Smoke_OR_Abstain">
			<state id="Smoke" />
			<state id="Abstain" />
		</decision>
		<deterministic id="Smoking">
			<state id="NonSmoker" />
			<state id="Smoker" />
			<parents>Smoke_OR_Abstain</parents>
			<resultingstates>Smoker NonSmoker</resultingstates>
		</deterministic>
		<cpt id="LungCancer">
			<state id="Absent" />
			<state id="Present" />
			<parents>Smoking</parents>
			<probabilities>0.99 0.01 0.9 0.1</probabilities>
		</cpt>
		<deterministic id="TbOrCa">
			<state id="Nothing" />
			<state id="CancerORTuberculosis" />
			<parents>Tuberculosis LungCancer</parents>
			<resultingstates>Nothing CancerORTuberculosis CancerORTuberculosis CancerORTuberculosis</resultingstates>
		</deterministic>
		<cpt id="XRay">
			<state id="Normal" />
			<state id="Abnormal" />
			<parents>TbOrCa</parents>
			<probabilities>0.95 0.05 0.02 0.98</probabilities>
		</cpt>
		<cpt id="Bronchitis">
			<state id="Absent" />
			<state id="Present" />
			<parents>Smoking</parents>
			<probabilities>0.7 0.3 0.4 0.6</probabilities>
		</cpt>
		<cpt id="Dyspnea">
			<state id="Absent" />
			<state id="Present" />
			<parents>TbOrCa Bronchitis</parents>
			<probabilities>0.9 0.1 0.2 0.8 0.3 0.7 0.1 0.9</probabilities>
		</cpt>
		<utility id="Value">
			<parents>LungCancer Bronchitis Smoke_OR_Abstain</parents>
			<utilities>100 95 90 85 10 5 5 0</utilities>
		</utility>
	</nodes>
	<extensions>
		<genie version="1.0" app="GeNIe 2.3.3520.1 1d480d954d39d00" name="Asia extended to an influence diagram" faultnameformat="nodestate">
			<comment>This is an example Bayesian network due to Lauritzen and Spiegelhalter, extended to an influence diagram. It is useful in demonstrating basics concepts of influence diagrams. The diagnostic part (the decision and the value node) helps in deciding whether or not to smoke.\nReference:\nThis is a modification (performed at BayesFusion) of an original network Asia, which first appeared in:\nLauritzen, Steffen L. &amp; Spiegelhalter, David J. (1988). Local computations with probabilities on graphical structures and their application to expert systems, Journal of the Royal Statistical Society B, 50(2):157-224.</comment>
			<node id="VisitToAsia">
				<name>Visit To Asia?</name>
				<interior color="e5f6f7" />
				<outline color="0000bb" />
				<font color="000080" name="Arial" size="12" />
				<position>34 35 136 71</position>
				<comment>The node models whether the individual in question visited Asia recently. This is considered to be a risk factor in tuberculosis.</comment>
				<barchart active="true" width="128" height="66" />
			</node>
			<node id="Tuberculosis">
				<name>Tuberculosis?</name>
				<interior color="e5f6f7" />
				<outline color="0000bb" />
				<font color="000080" name="Arial" size="12" />
				<position>34 135 139 171</position>
				<comment>Presence or absence of tuberculosis.</comment>
				<barchart active="true" width="133" height="66" />
			</node>
			<node id="Smoke_OR_Abstain">
				<name>Smoke or Abstain</name>
				<interior color="e5f6f7" />
				<outline color="0000bb" />
				<font color="000080" name="Arial" size="12" />
				<position>466 35 582 71</position>
				<comment>Should the individual smoke or abstain from smoking?</comment>
				<barchart active="true" width="153" height="66" />
			</node>
			<node id="Smoking">
				<name>Smoking?</name>
				<interior color="e5f6f7" />
				<outline color="0000bb" />
				<font color="000080" name="Arial" size="12" />
				<position>264 35 353 71</position>
				<comment>Does the individual smoke or not? This is a serious risk factor in both lung cancer and in bronchitis.</comment>
				<barchart active="true" width="171" height="66" />
			</node>
			<node id="LungCancer">
				<name>Lung Cancer?</name>
				<interior color="e5f6f7" />
				<outline color="0000bb" />
				<font color="000080" name="Arial" size="12" />
				<position>183 135 281 171</position>
				<comment>Does the individual suffer from lung cancer?</comment>
				<barchart active="true" width="128" height="66" />
			</node>
			<node id="TbOrCa">
				<name>Tuberculosis or Lung Cancer?</name>
				<interior color="e5f6f7" />
				<outline color="0000bb" />
				<font color="000080" name="Arial" size="12" />
				<position>122 226 255 286</position>
				<comment>Does the individual suffer from either tuberculosis or lung cancer? This node models practically existence of changes in the lungs, such as presence of condensed mass in the lungs.</comment>
				<barchart active="true" width="334" height="69" />
			</node>
			<node id="XRay">
				<name>X-Ray Result</name>
				<interior color="e5f6f7" />
				<outline color="0000bb" />
				<font color="000080" name="Arial" size="12" />
				<position>47 339 130 385</position>
				<comment>This node models the X-ray result. Both tuberculosis and lung cancer can be discovered on the X-ray because of presence of condensed mass in the lungs.</comment>
				<barchart active="true" width="137" height="66" />
			</node>
			<node id="Bronchitis">
				<name>Bronchitis?</name>
				<interior color="e5f6f7" />
				<outline color="0000bb" />
				<font color="000080" name="Arial" size="12" />
				<position>402 237 488 273</position>
				<comment>Does the individual suffer from bronchitis?</comment>
				<barchart active="true" width="128" height="66" />
			</node>
			<node id="Dyspnea">
				<name>Dyspnea?</name>
				<interior color="e5f6f7" />
				<outline color="0000bb" />
				<font color="000080" name="Arial" size="12" />
				<position>194 344 270 380</position>
				<comment>Does the individual suffer from dyspnea (shortness of breath)? Each of the diseases modeled can result in shortness of breath.</comment>
				<barchart active="true" width="128" height="66" />
			</node>
			<node id="Value">
				<name>Value</name>
				<interior color="e5f6f7" />
				<outline color="0000bb" />
				<font color="000080" name="Arial" size="12" />
				<position>494 343 560 379</position>
				<comment>Total value to the individual. Both health and pleasure derived from smoking are factors in the total value. Please note that getting lung cancer is quite bad and this is reflected in the numbers.</comment>
				<barchart active="true" width="220" height="66" />
			</node>
			<textbox>
				<caption>This is an example Bayesian network due to Lauritzen and Spiegelhalter, extended to an influence diagram. It is useful in demonstrating basics concepts of influence diagrams. The diagnostic part (the decision and the value node) helps in deciding whether or not to smoke.\n\nThe original network first appeared in:\nLauritzen, Steffen L. &amp; Spiegelhalter, David J. (1988). Local computations with probabilities on graphical structures and their application to expert systems, Journal of the Royal Statistical Society B, 50(2):157-224.</caption>
				<font color="000080" name="Arial" size="12" bold="true" />
				<position>619 20 928 324</position>
			</textbox>
		</genie>
	</extensions>
</smile>
