Type Definitions
votesForGeomGrid
Vote data for just one voter geometry in the form of a grid, 1D or 2D.
Type:
-
votesForGeomGridRanking
|
votesForGeomGridPairwise
|
votesForGeomGridPlurality
|
votesForGeomGridScore
- Source:
votesForGeomGridPairwise
Type:
Properties:
Name |
Type |
Description |
grid |
typesGrid.grid
|
data for points on a grid |
voteSet |
Array.<typesVote.rankingVote>
|
a vote for each grid point |
totalVotes |
number
|
|
bordaFractionAverageByCan |
Array.<number>
|
|
winsPairwise |
Array.<Array.<number>>
|
The number of wins for the first of a pair of candidates. |
- Source:
votesForGeomGridPlurality
Type:
Properties:
Name |
Type |
Attributes |
Description |
countByCan |
Array.<number>
|
|
|
totalVotes |
number
|
|
|
grid |
typesGrid.grid
|
<optional>
|
data for points on a grid |
voteSet |
Array.<typesVote.pluralityVote>
|
<optional>
|
a vote for each grid point |
- Source:
votesForGeomGridRanking
Type:
Properties:
Name |
Type |
Attributes |
Description |
grid |
typesGrid.grid
|
<optional>
|
data for points on a grid |
voteSet |
Array.<typesVote.rankingVote>
|
<optional>
|
a vote for each grid point |
voteCounts |
Array.<number>
|
|
|
totalVotes |
number
|
|
|
bordaFractionAverageByCan |
Array.<number>
|
<optional>
|
|
rankings |
typesVoteArrays.rankings
|
<optional>
|
|
cansByRankList |
typesVoteArrays.cansByRankList
|
|
cansByRank for each grid point |
- Source:
votesForGeomGridScore
Type:
Properties:
Name |
Type |
Attributes |
Description |
scoreSumByCan |
Array.<number>
|
|
|
totalVotes |
number
|
|
|
grid |
typesGrid.grid
|
<optional>
|
data for points on a grid |
voteSet |
Array.<typesVote.scoreVote>
|
<optional>
|
a vote for each grid point |
voterGeom |
typesGeoms.voterGeom
|
<optional>
|
|
- Source:
votesForGeomGridScoreFull
Type:
Properties:
Name |
Type |
Attributes |
Description |
scoreSumByCan |
Array.<number>
|
|
|
totalVotes |
number
|
|
|
voteCounts |
Array.<number>
|
|
|
voteSet |
Array.<typesVote.scoreVote>
|
|
a vote for each grid point |
grid |
typesGrid.grid
|
<optional>
|
data for points on a grid |
voterGeom |
typesGeoms.voterGeom
|
<optional>
|
|
- Source: