def __init__(self, b): # Note: we're deliberate bypassing MeekSTV.__init__ here # because we don't want any UI options RecursiveSTV.__init__(self, b) MethodPlugin.__init__(self) self.weakTieBreakMethod = "forward" # per clauses 19, 34 & 40 self.prec = 9 # per clause 5 self.prng_cands = {}
def __init__(self, b): # Note: we're deliberate bypassing MeekSTV.__init__ here # because we don't want any UI options RecursiveSTV.__init__(self, b) MethodPlugin.__init__(self) self.weakTieBreakMethod = "forward" # per clauses 19, 34 & 40 self.prec = 9 # per clause 5 self.prng_cands = {}
def __init__(self, b): RecursiveSTV.__init__(self, b) self.prec = 9 self.strongTieBreakMethod = "random" # break all ties randomly self.weakTieBreakMethod = "strong" # treat all ties as strong self.surplusLimit = QX.Epsilon
def __init__(self, b): RecursiveSTV.__init__(self, b) MethodPlugin.__init__(self) self.createGuiOptions(["prec", "thresh0", "thresh1", "thresh2"])
def __init__(self, b): RecursiveSTV.__init__(self, b) MethodPlugin.__init__(self) self.createGuiOptions(["prec", "thresh0", "thresh1", "thresh2"])