Skip to content

Questions #64

@narendersaini32

Description

@narendersaini32

Hi Izear
First of all, I am very impressed with your work.
I have a few questions.

  1. What's the meaning of weight in the below example?
  2. What's the use of scoresFromBallots?
  3. Can you share one example for Minimax Condorcet method?
  4. Is there any similar npm package for voting algorithms?

return scoresFromBallots(
[
{ ranking: [['Lion'], ['Bear'], ['Sheep']], weight: 4 },
{ ranking: [['Sheep'], ['Bear'], ['Lion']], weight: 3 },
{ ranking: [['Bear', 'Sheep'], ['Lion']], weight: 2 },
],
['Lion', 'Bear', 'Sheep'],
VotingSystem.Schulze,
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions