public SepsisResult GetBeliefsOnSepsisNode(Domain dom) { SepsisResult result = new SepsisResult(); //Find sepsis node in CPN DiscreteChanceNode dSepsisNode = (DiscreteChanceNode)dom.GetNodeByName("Sepsis_pu_em_gg_us_pn"); //Read all states on sepsis node result.No = dSepsisNode.GetBelief((uint)0); result.Mild = dSepsisNode.GetBelief((uint)1); result.Moderate = dSepsisNode.GetBelief((uint)2); result.Severe = dSepsisNode.GetBelief((uint)3); result.Critical = dSepsisNode.GetBelief((uint)4); result.Bacterimia = GetBactermiaProbability(dom); dom.RetractFindings(); return result; }