Namespace: typesGeometry

typesGeometry

Type Definitions

geometry

geometry for casting votes
Type:
  • object
Properties:
Name Type Attributes Description
canPoints geoms.canPoints
voterGeoms geoms.voterGeoms
dimensions number
parties parties
strategySeed string <optional>
voterStrategyList object <optional>
Source:

parties

describes parties each candidate belongs to.
Type:
  • object
Properties:
Name Type Description
partiesByCan Array.<number> each candidate has party.
numParties number total number of parties.
Source:

testGeometry

geometry for casting one vote
Type:
  • object
Properties:
Name Type Description
canPoints typesPoints.points
voterPoints typesPoints.points
dimensions number
parties parties
Source: