1
0
This repository has been archived on 2023-11-30. You can view files and clone it, but cannot push or open issues or pull requests.
dtux__serveur-vote-lalis/include/Condorcet/Benchmarks/MethodsProportionalBench.php

22 lines
527 B
PHP
Raw Normal View History

2022-09-21 12:39:11 +02:00
<?php
declare(strict_types=1);
namespace CondorcetPHP\Condorcet\Benchmarks;
use CondorcetPHP\Condorcet\Algo\Methods\STV\CPO_STV;
ini_set('memory_limit', '51200M');
class MethodsProportionalBench extends MethodsNonProportionalBench
{
public bool $IS_A_PROPORTIONAL_BENCH = true;
public array $numberOfCandidates = [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 30, 40, 50, 60, 70, 80, 90, 100];
public function __construct()
{
CPO_STV::$MaxOutcomeComparisons = 200_000;
}
}