def __init__(self, treeInst, mytree, parent): #call to super constracture node.__init__(self, treeInst, mytree, "bool", parent) treeInst.tag = "bool" if treeInst.get("name") == "T": self.boolP = "True" else: self.boolP = "False"
def __init__(self,treeInst,mytree,parent): #call to super constracture node.__init__(self,treeInst,mytree,"not",parent)
def __init__(self, treeInst, mytree, parent): #tsk id is it's name self.Id = treeInst.get("name") #call to super-condstracture node.__init__(self, treeInst, mytree, "tsk", parent)
def __init__(self,treeInst,mytree,parent): #call to super constracture node.__init__(self,treeInst,mytree,"par",parent)
def __init__(self,treeInst,mytree,parent): #call to super-condstracture node.__init__(self,treeInst,mytree,"tsk",parent) #upsate distributions from xml file self.distTableSucc = self.createDistTable("Successdistribution") self.distTableFail = self.createDistTable("Failuredistribution")