Skip to content

fmhahne/Schulze.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Schulze.jl

CI status Code Style: Blue

Schulze method implementation in Julia.

Example

using Schulze

winningvotes = [  0 20 26 30 22
                 25  0 16 33 18
                 19 29  0 17 24
                 15 12 28  0 14
                 14 23 21 31  0 ]
# 5×5 Matrix{Int64}:
#   0  20  26  30  22
#  25   0  16  33  18
#  19  29   0  17  24
#  15  12  28   0  14
#  14  23  21  31   0

schulze(winningvotes)
# 5-element Vector{Int64}:
#  5
#  1
#  3
#  2
#  4

Releases

No releases published

Packages

 
 
 

Languages