Module: compute/voteCasters/scoreFull/castScoreFull

(require("compute/voteCasters/scoreFull/castScoreFull"))(geometry, castOptions) → {object}

Voters cast votes for candidates.
Parameters:
Name Type Description
geometry object geometry for casting votes
Properties
Name Type Description
canPoints Array.<object> For 2D, an array of arrays: [x,y]. For 1D, an array of numbers: x.
voterGeoms Array.<object> For 2D, an array of objects: {x,y,w}. For 1D, an array of objects: {x,w,densityProfile}.
parties object
castOptions object options for how to cast votes.
Source:
Returns:
votes
Type
object