Ejemplo n.º 1
0
    def __init__(self, b):
        RecursiveSTV.__init__(self, b)
        if not isinstance(b,projectBallots.ProjectBallots):
            projectBallots.upgradeBallot(b)
        self.countingMethod = "Warren"
        self.createUIoptions(["countingMethod","prec"])
        self.evil = False

        self.DEBUG_COUNT = False
        self.indent = 0
        self.DEBUG_WIN_LOSE = True
Ejemplo n.º 2
0
    def __init__(self, b):
        RecursiveSTV.__init__(self, b)
        if not isinstance(b, projectBallots.ProjectBallots):
            projectBallots.upgradeBallot(b)
        self.countingMethod = "Warren"
        self.createUIoptions(["countingMethod", "prec"])
        self.evil = False

        self.DEBUG_COUNT = False
        self.indent = 0
        self.DEBUG_WIN_LOSE = True
Ejemplo n.º 3
0
 def __init__(self,b):
     NonIterative.__init__(self,b)
     if not isinstance(b,projectBallots.ProjectBallots):
         projectBallots.upgradeBallot(b)