def __init__(self, var, N,low,up, baseWeight = "", weights = [], pred = "one") : for item in ['var','N','low','up','baseWeight','weights','pred'] : setattr(self,item,eval(item)) self.moreName = "%s (%d); bW:%s; w:%s"%(var,N,baseWeight,utils.contract(weights))
def __init__(self, sortedListOfPaths=[], unreliable={}): self.sortedListOfPaths = sortedListOfPaths self.unreliable = unreliable self.moreName = "any of " + utils.contract(self.sortedListOfPaths)
def __init__(self, sortedListOfPaths=[]): self.sortedListOfPaths = sortedListOfPaths self.moreName = "lowest unprescaled of " + utils.contract( self.sortedListOfPaths)
def __init__(self, sortedListOfPaths = []) : self.sortedListOfPaths = sortedListOfPaths self.moreName = "lowest unprescaled of " + utils.contract(self.sortedListOfPaths)