Pairwise matrix: array[i][j] is the weight of ballots ranking candidate i above candidate j, rounded to the 1e-6 tie tolerance so that fractional weights tie as they should (0.4 + 0.2 floats above 0.6).
array[i][j]
i
j
whether a ballot ranks the candidates it leaves out below the others (default true). Pass false to count only what it ranks.
Pairwise matrix:
array[i][j]is the weight of ballots ranking candidateiabove candidatej, rounded to the 1e-6 tie tolerance so that fractional weights tie as they should (0.4 + 0.2 floats above 0.6).