示例#1
0
 def DoAllInference(self, event):
     self.st1.SetLabel('')
     potentials = BN.cpts + BN.setEvidenceList(BN.evidenceList)
     printList = BN.doAllInference(potentials)
     #Putting results on panel
     self.st1.SetLabel(printList)
示例#2
0
文件: gui.py 项目: khundman/wxpython
 def DoAllInference(self,event):
     self.st1.SetLabel('')
     potentials = BN.cpts + BN.setEvidenceList(BN.evidenceList)
     printList = BN.doAllInference(potentials) 
     #Putting results on panel
     self.st1.SetLabel(printList)