divisor_method

divisor_method(name)

Divisor function for highest averages apportionment method.

Parameters

name : str

Name of the divisor method, one of: “Jefferson/D’Hondt”, “Webster/Sainte-Lague”, “Imperiali”, “Huntington-Hill”, “Danish”, “Adams”, “Dean”

Returns

: Callable[[int], float]

The divisor function.