debug
This commit is contained in:
21
include/condorcet/Benchmarks/MethodsProportionalBench.php
Normal file
21
include/condorcet/Benchmarks/MethodsProportionalBench.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user