Exemplo n.º 1
0
  def __init__(self, b):
    OrderDependentSTV.__init__(self, b)
    MethodPlugin.__init__(self)

    self.threshName = ["Droop", "Static", "Whole"]
    self.delayedTransfer = "Off"
    self.batchElimination = "Zero"
    self.batchCutoff = 50
    self.createGuiOptions(["thresh0", "thresh1", "delayedTransfer",
                          "batchElimination", "batchCutoff"])
Exemplo n.º 2
0
    def __init__(self, b):
        OrderDependentSTV.__init__(self, b)
        MethodPlugin.__init__(self)

        self.batchElimination = "Cutoff"
        self.batchCutoff = 50
        self.threshName = ["Droop", "Static", "Whole"]
        self.delayedTransfer = "Off"
        self.saveWinnersBallots = False
        self.outputDir = None
        self.createGuiOptions(["saveWinnersBallots"])
Exemplo n.º 3
0
 def __init__(self, b):
   OrderDependentSTV.__init__(self, b)
   MethodPlugin.__init__(self)
   
   self.batchElimination = "Cutoff"
   self.batchCutoff = 50
   self.threshName = ["Droop", "Static", "Whole"]
   self.delayedTransfer = "Off"
   self.saveWinnersBallots = False
   self.outputDir = None
   self.createGuiOptions(["saveWinnersBallots"])
Exemplo n.º 4
0
    def __init__(self, b):
        OrderDependentSTV.__init__(self, b)
        MethodPlugin.__init__(self)

        self.threshName = ["Droop", "Static", "Whole"]
        self.delayedTransfer = "Off"
        self.batchElimination = "Zero"
        self.batchCutoff = 50
        self.createGuiOptions([
            "thresh0", "thresh1", "delayedTransfer", "batchElimination",
            "batchCutoff"
        ])