filippo-toso/modified-borda-count

Modified Borda Count to combine individual voters' individual preference lists

v1.0.0 2017-09-11 13:32 UTC

This package is auto-updated.

Last update: 2024-11-29 04:47:01 UTC


README

Modified Borda Count to combine individual voters' individual preference lists

You can find more details about the algorithm check this paper and the following videos:

Requirements

  • PHP 5.6+

Installing

Use Composer to install it:

composer require filippo-toso/modified-borda-count

Using It

use FilippoToso\ModifiedBordaCount\Applications;
use FilippoToso\ModifiedBordaCount\Application;
use FilippoToso\ModifiedBordaCount\Simulator;

// Example with the simulator
$simulator = new Simulator();

$data = $simulator->generate($load = 8, $applicants = 100, $competent = 85, $incompetent = 10, $evil = 5, $perfect = 0);

$simulator->display($data);