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/Documentation/README.md

2296 lines
107 KiB
Markdown

> **[Presentation](../README.md) | [Manual](https://github.com/julien-boudry/Condorcet/wiki) | Methods References | [Tests](../Tests)**
# Public API Index*_
_*: I try to update and complete the documentation. See also [the manual](https://github.com/julien-boudry/Condorcet/wiki), [the tests](../Tests) also produce many examples. And create issues for questions or fixing documentation!_
### CondorcetPHP\Condorcet\Candidate Class
* [public Candidate->__construct (...)](Candidate%20Class/public%20Candidate--__construct.md)
* [public Candidate->countLinks ()](Candidate%20Class/public%20Candidate--countLinks.md): ```int```
* [public Candidate->getCreateTimestamp ()](Candidate%20Class/public%20Candidate--getCreateTimestamp.md): ```float```
* [public Candidate->getHistory ()](Candidate%20Class/public%20Candidate--getHistory.md): ```array```
* [public Candidate->getLinks ()](Candidate%20Class/public%20Candidate--getLinks.md): ```WeakMap```
* [public Candidate->getName ()](Candidate%20Class/public%20Candidate--getName.md): ```string```
* [public Candidate->getObjectVersion (...)](Candidate%20Class/public%20Candidate--getObjectVersion.md): ```string```
* [public Candidate->getProvisionalState ()](Candidate%20Class/public%20Candidate--getProvisionalState.md): ```bool```
* [public Candidate->getTimestamp ()](Candidate%20Class/public%20Candidate--getTimestamp.md): ```float```
* [public Candidate->haveLink (...)](Candidate%20Class/public%20Candidate--haveLink.md): ```bool```
* [public Candidate->setName (...)](Candidate%20Class/public%20Candidate--setName.md): ```bool```
### CondorcetPHP\Condorcet\Condorcet Class
* ```final public const VERSION: (string)```
* ```final public const CONDORCET_BASIC_CLASS: (string)```
* [public static Condorcet::addMethod (...)](Condorcet%20Class/public%20static%20Condorcet--addMethod.md): ```bool```
* [public static Condorcet::getAuthMethods (...)](Condorcet%20Class/public%20static%20Condorcet--getAuthMethods.md): ```array```
* [public static Condorcet::getDefaultMethod ()](Condorcet%20Class/public%20static%20Condorcet--getDefaultMethod.md): ```?string```
* [public static Condorcet::getMethodClass (...)](Condorcet%20Class/public%20static%20Condorcet--getMethodClass.md): ```?string```
* [public static Condorcet::getVersion (...)](Condorcet%20Class/public%20static%20Condorcet--getVersion.md): ```string```
* [public static Condorcet::isAuthMethod (...)](Condorcet%20Class/public%20static%20Condorcet--isAuthMethod.md): ```bool```
* [public static Condorcet::setDefaultMethod (...)](Condorcet%20Class/public%20static%20Condorcet--setDefaultMethod.md): ```bool```
### CondorcetPHP\Condorcet\Election Class
* ```public const MAX_CANDIDATE_NAME_LENGTH: (integer)```
* [public static Election::setMaxParseIteration (...)](Election%20Class/public%20static%20Election--setMaxParseIteration.md): ```?int```
* [public static Election::setMaxVoteNumber (...)](Election%20Class/public%20static%20Election--setMaxVoteNumber.md): ```?int```
* [public Election->__construct ()](Election%20Class/public%20Election--__construct.md)
* [public Election->addCandidate (...)](Election%20Class/public%20Election--addCandidate.md): ```CondorcetPHP\Condorcet\Candidate```
* [public Election->addCandidatesFromJson (...)](Election%20Class/public%20Election--addCandidatesFromJson.md): ```array```
* [public Election->addConstraint (...)](Election%20Class/public%20Election--addConstraint.md): ```bool```
* [public Election->addVote (...)](Election%20Class/public%20Election--addVote.md): ```CondorcetPHP\Condorcet\Vote```
* [public Election->addVotesFromJson (...)](Election%20Class/public%20Election--addVotesFromJson.md): ```int```
* [public Election->allowsVoteWeight (...)](Election%20Class/public%20Election--allowsVoteWeight.md): ```bool```
* [public Election->canAddCandidate (...)](Election%20Class/public%20Election--canAddCandidate.md): ```bool```
* [public Election->clearConstraints ()](Election%20Class/public%20Election--clearConstraints.md): ```bool```
* [public Election->computeResult (...)](Election%20Class/public%20Election--computeResult.md): ```void```
* [public Election->countCandidates ()](Election%20Class/public%20Election--countCandidates.md): ```int```
* [public Election->countInvalidVoteWithConstraints ()](Election%20Class/public%20Election--countInvalidVoteWithConstraints.md): ```int```
* [public Election->countValidVoteWithConstraints ()](Election%20Class/public%20Election--countValidVoteWithConstraints.md): ```int```
* [public Election->countVotes (...)](Election%20Class/public%20Election--countVotes.md): ```int```
* [public Election->getCandidateObjectFromName (...)](Election%20Class/public%20Election--getCandidateObjectFromName.md): ```?CondorcetPHP\Condorcet\Candidate```
* [public Election->getCandidatesList ()](Election%20Class/public%20Election--getCandidatesList.md): ```array```
* [public Election->getCandidatesListAsString ()](Election%20Class/public%20Election--getCandidatesListAsString.md): ```array```
* [public Election->getChecksum ()](Election%20Class/public%20Election--getChecksum.md): ```string```
* [public Election->getCondorcetLoser ()](Election%20Class/public%20Election--getCondorcetLoser.md): ```?CondorcetPHP\Condorcet\Candidate```
* [public Election->getCondorcetWinner ()](Election%20Class/public%20Election--getCondorcetWinner.md): ```?CondorcetPHP\Condorcet\Candidate```
* [public Election->getConstraints ()](Election%20Class/public%20Election--getConstraints.md): ```array```
* [public Election->getExplicitPairwise ()](Election%20Class/public%20Election--getExplicitPairwise.md): ```array```
* [public Election->getGlobalTimer ()](Election%20Class/public%20Election--getGlobalTimer.md): ```float```
* [public Election->getImplicitRankingRule ()](Election%20Class/public%20Election--getImplicitRankingRule.md): ```bool```
* [public Election->getLastTimer ()](Election%20Class/public%20Election--getLastTimer.md): ```float```
* [public Election->getLoser (...)](Election%20Class/public%20Election--getLoser.md): ```CondorcetPHP\Condorcet\Candidate|array|null```
* [public Election->getNumberOfSeats ()](Election%20Class/public%20Election--getNumberOfSeats.md): ```int```
* [public Election->getObjectVersion (...)](Election%20Class/public%20Election--getObjectVersion.md): ```string```
* [public Election->getPairwise ()](Election%20Class/public%20Election--getPairwise.md): ```CondorcetPHP\Condorcet\Algo\Pairwise```
* [public Election->getResult (...)](Election%20Class/public%20Election--getResult.md): ```CondorcetPHP\Condorcet\Result```
* [public Election->getState ()](Election%20Class/public%20Election--getState.md): ```CondorcetPHP\Condorcet\ElectionProcess\ElectionState```
* [public Election->getStatsVerbosity ()](Election%20Class/public%20Election--getStatsVerbosity.md): ```CondorcetPHP\Condorcet\Algo\StatsVerbosity```
* [public Election->getTimerManager ()](Election%20Class/public%20Election--getTimerManager.md): ```CondorcetPHP\Condorcet\Timer\Manager```
* [public Election->getVotesList (...)](Election%20Class/public%20Election--getVotesList.md): ```array```
* [public Election->getVotesListAsString (...)](Election%20Class/public%20Election--getVotesListAsString.md): ```string```
* [public Election->getVotesListGenerator (...)](Election%20Class/public%20Election--getVotesListGenerator.md): ```Generator```
* [public Election->getVotesValidUnderConstraintGenerator (...)](Election%20Class/public%20Election--getVotesValidUnderConstraintGenerator.md): ```Generator```
* [public Election->getWinner (...)](Election%20Class/public%20Election--getWinner.md): ```CondorcetPHP\Condorcet\Candidate|array|null```
* [public Election->isRegisteredCandidate (...)](Election%20Class/public%20Election--isRegisteredCandidate.md): ```bool```
* [public Election->isVoteWeightAllowed ()](Election%20Class/public%20Election--isVoteWeightAllowed.md): ```bool```
* [public Election->parseCandidates (...)](Election%20Class/public%20Election--parseCandidates.md): ```array```
* [public Election->parseVotes (...)](Election%20Class/public%20Election--parseVotes.md): ```int```
* [public Election->parseVotesWithoutFail (...)](Election%20Class/public%20Election--parseVotesWithoutFail.md): ```int```
* [public Election->removeCandidates (...)](Election%20Class/public%20Election--removeCandidates.md): ```array```
* [public Election->removeExternalDataHandler ()](Election%20Class/public%20Election--removeExternalDataHandler.md): ```bool```
* [public Election->removeVote (...)](Election%20Class/public%20Election--removeVote.md): ```bool```
* [public Election->removeVotesByTags (...)](Election%20Class/public%20Election--removeVotesByTags.md): ```array```
* [public Election->setExternalDataHandler (...)](Election%20Class/public%20Election--setExternalDataHandler.md): ```bool```
* [public Election->setImplicitRanking (...)](Election%20Class/public%20Election--setImplicitRanking.md): ```bool```
* [public Election->setMethodOption (...)](Election%20Class/public%20Election--setMethodOption.md): ```bool```
* [public Election->setNumberOfSeats (...)](Election%20Class/public%20Election--setNumberOfSeats.md): ```int```
* [public Election->setStateToVote ()](Election%20Class/public%20Election--setStateToVote.md): ```bool```
* [public Election->setStatsVerbosity (...)](Election%20Class/public%20Election--setStatsVerbosity.md): ```void```
* [public Election->sumValidVotesWeightWithConstraints ()](Election%20Class/public%20Election--sumValidVotesWeightWithConstraints.md): ```int```
* [public Election->sumVotesWeight ()](Election%20Class/public%20Election--sumVotesWeight.md): ```int```
* [public Election->testIfVoteIsValidUnderElectionConstraints (...)](Election%20Class/public%20Election--testIfVoteIsValidUnderElectionConstraints.md): ```bool```
### CondorcetPHP\Condorcet\Result Class
* ```readonly public array $ranking```
* ```readonly public array $rankingAsString```
* ```readonly public ?int $seats```
* ```readonly public array $methodOptions```
* ```readonly public ?CondorcetPHP\Condorcet\Candidate $CondorcetWinner```
* ```readonly public ?CondorcetPHP\Condorcet\Candidate $CondorcetLoser```
* ```readonly public float $buildTimestamp```
* ```readonly public string $fromMethod```
* ```readonly public string $byClass```
* ```readonly public CondorcetPHP\Condorcet\Algo\StatsVerbosity $statsVerbosity```
* ```readonly public string $electionCondorcetVersion```
* [public Result->getBuildTimeStamp ()](Result%20Class/public%20Result--getBuildTimeStamp.md): ```float```
* [public Result->getClassGenerator ()](Result%20Class/public%20Result--getClassGenerator.md): ```string```
* [public Result->getCondorcetElectionGeneratorVersion ()](Result%20Class/public%20Result--getCondorcetElectionGeneratorVersion.md): ```string```
* [public Result->getCondorcetLoser ()](Result%20Class/public%20Result--getCondorcetLoser.md): ```?CondorcetPHP\Condorcet\Candidate```
* [public Result->getCondorcetWinner ()](Result%20Class/public%20Result--getCondorcetWinner.md): ```?CondorcetPHP\Condorcet\Candidate```
* [public Result->getLoser ()](Result%20Class/public%20Result--getLoser.md): ```CondorcetPHP\Condorcet\Candidate|array|null```
* [public Result->getMethod ()](Result%20Class/public%20Result--getMethod.md): ```string```
* [public Result->getMethodOptions ()](Result%20Class/public%20Result--getMethodOptions.md): ```array```
* [public Result->getNumberOfSeats ()](Result%20Class/public%20Result--getNumberOfSeats.md): ```?int```
* [public Result->getObjectVersion (...)](Result%20Class/public%20Result--getObjectVersion.md): ```string```
* [public Result->getOriginalResultArrayWithString ()](Result%20Class/public%20Result--getOriginalResultArrayWithString.md): ```array```
* [public Result->getResultAsArray (...)](Result%20Class/public%20Result--getResultAsArray.md): ```array```
* [public Result->getResultAsString ()](Result%20Class/public%20Result--getResultAsString.md): ```string```
* [public Result->getStats ()](Result%20Class/public%20Result--getStats.md): ```mixed```
* [public Result->getWarning (...)](Result%20Class/public%20Result--getWarning.md): ```array```
* [public Result->getWinner ()](Result%20Class/public%20Result--getWinner.md): ```CondorcetPHP\Condorcet\Candidate|array|null```
* [public Result->isProportional ()](Result%20Class/public%20Result--isProportional.md): ```bool```
### CondorcetPHP\Condorcet\Vote Class
* [public Vote->__construct (...)](Vote%20Class/public%20Vote--__construct.md)
* [public Vote->addTags (...)](Vote%20Class/public%20Vote--addTags.md): ```bool```
* [public Vote->countLinks ()](Vote%20Class/public%20Vote--countLinks.md): ```int```
* [public Vote->countRankingCandidates ()](Vote%20Class/public%20Vote--countRankingCandidates.md): ```int```
* [public Vote->getAllCandidates ()](Vote%20Class/public%20Vote--getAllCandidates.md): ```array```
* [public Vote->getContextualRanking (...)](Vote%20Class/public%20Vote--getContextualRanking.md): ```array```
* [public Vote->getContextualRankingAsString (...)](Vote%20Class/public%20Vote--getContextualRankingAsString.md): ```array```
* [public Vote->getCreateTimestamp ()](Vote%20Class/public%20Vote--getCreateTimestamp.md): ```float```
* [public Vote->getHashCode ()](Vote%20Class/public%20Vote--getHashCode.md): ```string```
* [public Vote->getHistory ()](Vote%20Class/public%20Vote--getHistory.md): ```array```
* [public Vote->getLinks ()](Vote%20Class/public%20Vote--getLinks.md): ```WeakMap```
* [public Vote->getObjectVersion (...)](Vote%20Class/public%20Vote--getObjectVersion.md): ```string```
* [public Vote->getRanking (...)](Vote%20Class/public%20Vote--getRanking.md): ```array```
* [public Vote->getSimpleRanking (...)](Vote%20Class/public%20Vote--getSimpleRanking.md): ```string```
* [public Vote->getTags ()](Vote%20Class/public%20Vote--getTags.md): ```array```
* [public Vote->getTagsAsString ()](Vote%20Class/public%20Vote--getTagsAsString.md): ```string```
* [public Vote->getTimestamp ()](Vote%20Class/public%20Vote--getTimestamp.md): ```float```
* [public Vote->getWeight (...)](Vote%20Class/public%20Vote--getWeight.md): ```int```
* [public Vote->haveLink (...)](Vote%20Class/public%20Vote--haveLink.md): ```bool```
* [public Vote->removeAllTags ()](Vote%20Class/public%20Vote--removeAllTags.md): ```bool```
* [public Vote->removeCandidate (...)](Vote%20Class/public%20Vote--removeCandidate.md): ```bool```
* [public Vote->removeTags (...)](Vote%20Class/public%20Vote--removeTags.md): ```array```
* [public Vote->setRanking (...)](Vote%20Class/public%20Vote--setRanking.md): ```bool```
* [public Vote->setWeight (...)](Vote%20Class/public%20Vote--setWeight.md): ```int```
### CondorcetPHP\Condorcet\Algo\Pairwise Class
* [public Algo\Pairwise->getExplicitPairwise ()](Algo_Pairwise%20Class/public%20Algo_Pairwise--getExplicitPairwise.md): ```array```
* [public Algo\Pairwise->getObjectVersion (...)](Algo_Pairwise%20Class/public%20Algo_Pairwise--getObjectVersion.md): ```string```
### CondorcetPHP\Condorcet\Algo\Tools\Combinations Class
* ```public static bool $useBigIntegerIfAvailable```
### CondorcetPHP\Condorcet\Algo\Tools\Permutations Class
* ```public static bool $useBigIntegerIfAvailable```
### CondorcetPHP\Condorcet\Algo\Tools\StvQuotas Enum
* ```case Algo\Tools\StvQuotas::DROOP```
* ```case Algo\Tools\StvQuotas::HARE```
* ```case Algo\Tools\StvQuotas::HAGENBACH_BISCHOFF```
* ```case Algo\Tools\StvQuotas::IMPERIALI```
* [public static Algo\Tools\StvQuotas::make (...)](Algo_Tools_StvQuotas%20Class/public%20static%20Algo_Tools_StvQuotas--make.md): ```self```
### CondorcetPHP\Condorcet\DataManager\DataHandlerDrivers\PdoDriver\PdoHandlerDriver Class
* ```public const SEGMENT: (array)```
* ```public static bool $preferBlobInsteadVarchar```
### CondorcetPHP\Condorcet\Timer\Manager Class
* [public Timer\Manager->getHistory ()](Timer_Manager%20Class/public%20Timer_Manager--getHistory.md): ```array```
* [public Timer\Manager->getObjectVersion (...)](Timer_Manager%20Class/public%20Timer_Manager--getObjectVersion.md): ```string```
### CondorcetPHP\Condorcet\Tools\Converters\CondorcetElectionFormat Class
* ```readonly public array $candidates```
* ```readonly public int $numberOfSeats```
* ```readonly public bool $implicitRanking```
* ```readonly public bool $voteWeight```
* ```readonly public bool $CandidatesParsedFromVotes```
* ```readonly public int $invalidBlocksCount```
* [public static Tools\Converters\CondorcetElectionFormat::exportElectionToCondorcetElectionFormat (...)](Tools_Converters_CondorcetElectionFormat%20Class/public%20static%20Tools_Converters_CondorcetElectionFormat--exportElectionToCondorcetElectionFormat.md): ```?string```
* [public Tools\Converters\CondorcetElectionFormat->__construct (...)](Tools_Converters_CondorcetElectionFormat%20Class/public%20Tools_Converters_CondorcetElectionFormat--__construct.md)
* [public Tools\Converters\CondorcetElectionFormat->setDataToAnElection (...)](Tools_Converters_CondorcetElectionFormat%20Class/public%20Tools_Converters_CondorcetElectionFormat--setDataToAnElection.md): ```CondorcetPHP\Condorcet\Election```
### CondorcetPHP\Condorcet\Tools\Converters\DavidHillFormat Class
* ```readonly public array $candidates```
* ```readonly public int $NumberOfSeats```
* [public Tools\Converters\DavidHillFormat->__construct (...)](Tools_Converters_DavidHillFormat%20Class/public%20Tools_Converters_DavidHillFormat--__construct.md)
* [public Tools\Converters\DavidHillFormat->setDataToAnElection (...)](Tools_Converters_DavidHillFormat%20Class/public%20Tools_Converters_DavidHillFormat--setDataToAnElection.md): ```CondorcetPHP\Condorcet\Election```
### CondorcetPHP\Condorcet\Tools\Converters\DebianFormat Class
* ```readonly public array $candidates```
* ```readonly public array $votes```
* [public Tools\Converters\DebianFormat->__construct (...)](Tools_Converters_DebianFormat%20Class/public%20Tools_Converters_DebianFormat--__construct.md)
* [public Tools\Converters\DebianFormat->setDataToAnElection (...)](Tools_Converters_DebianFormat%20Class/public%20Tools_Converters_DebianFormat--setDataToAnElection.md): ```CondorcetPHP\Condorcet\Election```
### CondorcetPHP\Condorcet\Utils\CondorcetUtil Class
* [public static Utils\CondorcetUtil::format (...)](Utils_CondorcetUtil%20Class/public%20static%20Utils_CondorcetUtil--format.md): ```mixed```
# Full Class & Methods References
_Including above methods from public API_
#### Abstract CondorcetPHP\Condorcet\Algo\Method
```php
* private const METHOD_NAME: (array)
* public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* public static ?int $MaxCandidates
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected getStats (): array
```
#### CondorcetPHP\Condorcet\Algo\Methods\Borda\BordaCount extends CondorcetPHP\Condorcet\Algo\Method implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* public const METHOD_NAME: (array)
* public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* public static int $optionStarting
* protected ?array $Stats
* public static ?int $MaxCandidates
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected getScoreByCandidateRanking (int $CandidatesRanked, CondorcetPHP\Condorcet\Election $election): float
* protected getStats (): array
```
#### CondorcetPHP\Condorcet\Algo\Methods\Borda\DowdallSystem extends CondorcetPHP\Condorcet\Algo\Methods\Borda\BordaCount implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* public const METHOD_NAME: (array)
* public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* public static int $optionStarting
* protected ?array $Stats
* public static ?int $MaxCandidates
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected getScoreByCandidateRanking (int $CandidatesRanked, CondorcetPHP\Condorcet\Election $election): float
* protected getStats (): array
```
#### CondorcetPHP\Condorcet\Algo\Methods\CondorcetBasic extends CondorcetPHP\Condorcet\Algo\Method implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* public const METHOD_NAME: (array)
* public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* protected ?int $CondorcetWinner
* protected ?int $CondorcetLoser
* public static ?int $MaxCandidates
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getLoser (): ?int
* public getObjectVersion (bool $major = false): string
* public getResult (): never
* public getWinner (): ?int
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected getStats (): array
```
#### CondorcetPHP\Condorcet\Algo\Methods\Copeland\Copeland extends CondorcetPHP\Condorcet\Algo\Methods\PairwiseStatsBased_Core implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* public const METHOD_NAME: (array)
* protected const COUNT_TYPE: (string)
* public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* readonly protected array $Comparison
* public static ?int $MaxCandidates
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected getStats (): array
* protected looking (array $challenge): int
* protected makeRanking (): void
```
#### CondorcetPHP\Condorcet\Algo\Methods\Dodgson\DodgsonQuick extends CondorcetPHP\Condorcet\Algo\Method implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* public const METHOD_NAME: (array)
* public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* protected ?array $Stats
* public static ?int $MaxCandidates
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected getStats (): array
```
#### CondorcetPHP\Condorcet\Algo\Methods\Dodgson\DodgsonTidemanApproximation extends CondorcetPHP\Condorcet\Algo\Methods\PairwiseStatsBased_Core implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* public const METHOD_NAME: (array)
* protected const COUNT_TYPE: (string)
* public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* readonly protected array $Comparison
* public static ?int $MaxCandidates
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected getStats (): array
* protected looking (array $challenge): int
* protected makeRanking (): void
```
#### Abstract CondorcetPHP\Condorcet\Algo\Methods\HighestAverages\HighestAverages_Core extends CondorcetPHP\Condorcet\Algo\Method implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* final public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* protected array $candidatesVotes
* protected array $candidatesSeats
* protected array $rounds
* public static ?int $MaxCandidates
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected computeQuotient (int $votesWeight, int $seats): float
* protected countVotesPerCandidates (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected getStats (): array
* protected makeRounds (): array
```
#### CondorcetPHP\Condorcet\Algo\Methods\HighestAverages\Jefferson extends CondorcetPHP\Condorcet\Algo\Methods\HighestAverages\HighestAverages_Core implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* public const METHOD_NAME: (array)
* final public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* protected array $candidatesVotes
* protected array $candidatesSeats
* protected array $rounds
* public static ?int $MaxCandidates
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected computeQuotient (int $votesWeight, int $seats): float
* protected countVotesPerCandidates (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected getStats (): array
* protected makeRounds (): array
```
#### CondorcetPHP\Condorcet\Algo\Methods\HighestAverages\SainteLague extends CondorcetPHP\Condorcet\Algo\Methods\HighestAverages\HighestAverages_Core implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* public const METHOD_NAME: (array)
* final public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* public static int|float $optionFirstDivisor
* protected array $candidatesVotes
* protected array $candidatesSeats
* protected array $rounds
* public static ?int $MaxCandidates
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected computeQuotient (int $votesWeight, int $seats): float
* protected countVotesPerCandidates (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected getStats (): array
* protected makeRounds (): array
```
#### CondorcetPHP\Condorcet\Algo\Methods\InstantRunoff\InstantRunoff extends CondorcetPHP\Condorcet\Algo\Method implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* public const METHOD_NAME: (array)
* public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* protected ?array $Stats
* readonly public float $majority
* public static ?int $MaxCandidates
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected getStats (): array
* protected makeScore (array $candidateDone): array
```
#### CondorcetPHP\Condorcet\Algo\Methods\KemenyYoung\KemenyYoung extends CondorcetPHP\Condorcet\Algo\Method implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* public const METHOD_NAME: (array)
* final public const CONFLICT_WARNING_CODE: (integer)
* public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* public static ?int $MaxCandidates
* readonly protected int $countElectionCandidates
* readonly protected array $candidatesKey
* readonly protected int $countPossibleRanking
* protected int $MaxScore
* protected int $Conflits
* protected int $bestRankingKey
* protected array $bestRankingTab
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected computeMaxAndConflicts (): void
* protected computeOneScore (array $ranking, CondorcetPHP\Condorcet\Algo\Pairwise $pairwise): int
* protected conflictInfos (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected getPossibleRankingIterator (): Generator
* protected getStats (): array
* protected makeRanking (): void
```
#### CondorcetPHP\Condorcet\Algo\Methods\LargestRemainder\LargestRemainder extends CondorcetPHP\Condorcet\Algo\Methods\HighestAverages\HighestAverages_Core implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* public const METHOD_NAME: (array)
* final public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* public static CondorcetPHP\Condorcet\Algo\Tools\StvQuotas $optionQuota
* protected array $candidatesVotes
* protected array $candidatesSeats
* protected array $rounds
* public static ?int $MaxCandidates
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected computeQuotient (int $votesWeight, int $seats): float
* protected countVotesPerCandidates (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected getStats (): array
* protected makeRounds (): array
```
#### CondorcetPHP\Condorcet\Algo\Methods\Majority\FirstPastThePost extends CondorcetPHP\Condorcet\Algo\Methods\Majority\Majority_Core implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* public const METHOD_NAME: (array)
* public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* protected int $maxRound
* protected int $targetNumberOfCandidatesForTheNextRound
* protected int $numberOfTargetedCandidatesAfterEachRound
* protected array $admittedCandidates
* protected ?array $Stats
* public static ?int $MaxCandidates
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected doOneRound (): array
* protected getStats (): array
```
#### Abstract CondorcetPHP\Condorcet\Algo\Methods\Majority\Majority_Core extends CondorcetPHP\Condorcet\Algo\Method implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* protected int $maxRound
* protected int $targetNumberOfCandidatesForTheNextRound
* protected int $numberOfTargetedCandidatesAfterEachRound
* protected array $admittedCandidates
* protected ?array $Stats
* public static ?int $MaxCandidates
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected doOneRound (): array
* protected getStats (): array
```
#### CondorcetPHP\Condorcet\Algo\Methods\Majority\MultipleRoundsSystem extends CondorcetPHP\Condorcet\Algo\Methods\Majority\Majority_Core implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* public const METHOD_NAME: (array)
* public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* protected static int $optionMAX_ROUND
* protected static int $optionTARGET_NUMBER_OF_CANDIDATES_FOR_THE_NEXT_ROUND
* protected static int $optionNUMBER_OF_TARGETED_CANDIDATES_AFTER_EACH_ROUND
* protected int $maxRound
* protected int $targetNumberOfCandidatesForTheNextRound
* protected int $numberOfTargetedCandidatesAfterEachRound
* protected array $admittedCandidates
* protected ?array $Stats
* public static ?int $MaxCandidates
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected doOneRound (): array
* protected getStats (): array
```
#### CondorcetPHP\Condorcet\Algo\Methods\Minimax\MinimaxMargin extends CondorcetPHP\Condorcet\Algo\Methods\PairwiseStatsBased_Core implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* public const METHOD_NAME: (array)
* protected const COUNT_TYPE: (string)
* public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* readonly protected array $Comparison
* public static ?int $MaxCandidates
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected getStats (): array
* protected looking (array $challenge): int
* protected makeRanking (): void
```
#### CondorcetPHP\Condorcet\Algo\Methods\Minimax\MinimaxOpposition extends CondorcetPHP\Condorcet\Algo\Methods\PairwiseStatsBased_Core implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* public const METHOD_NAME: (array)
* protected const COUNT_TYPE: (string)
* public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* readonly protected array $Comparison
* public static ?int $MaxCandidates
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected getStats (): array
* protected looking (array $challenge): int
* protected makeRanking (): void
```
#### CondorcetPHP\Condorcet\Algo\Methods\Minimax\MinimaxWinning extends CondorcetPHP\Condorcet\Algo\Methods\PairwiseStatsBased_Core implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* public const METHOD_NAME: (array)
* protected const COUNT_TYPE: (string)
* public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* readonly protected array $Comparison
* public static ?int $MaxCandidates
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected getStats (): array
* protected looking (array $challenge): int
* protected makeRanking (): void
```
#### Abstract CondorcetPHP\Condorcet\Algo\Methods\PairwiseStatsBased_Core extends CondorcetPHP\Condorcet\Algo\Method implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* private const COUNT_TYPE: (string)
* public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* readonly protected array $Comparison
* public static ?int $MaxCandidates
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected getStats (): array
* protected looking (array $challenge): int
* protected makeRanking (): void
```
#### CondorcetPHP\Condorcet\Algo\Methods\RankedPairs\RankedPairsMargin extends CondorcetPHP\Condorcet\Algo\Methods\RankedPairs\RankedPairs_Core implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* public const METHOD_NAME: (array)
* protected const RP_VARIANT_1: (string)
* public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* public static ?int $MaxCandidates
* readonly protected array $PairwiseSort
* protected array $Arcs
* protected ?array $Stats
* protected bool $StatsDone
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected followCycle (array $virtualArcs, int $startCandidateKey, int $searchCandidateKey, array $done = []): array
* protected getArcsInCycle (array $virtualArcs): array
* protected getStats (): array
* protected getWinners (array $alreadyDone): array
* protected makeArcs (): void
* protected makeResult (): array
* protected pairwiseSort (): array
```
#### CondorcetPHP\Condorcet\Algo\Methods\RankedPairs\RankedPairsWinning extends CondorcetPHP\Condorcet\Algo\Methods\RankedPairs\RankedPairs_Core implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* public const METHOD_NAME: (array)
* protected const RP_VARIANT_1: (string)
* public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* public static ?int $MaxCandidates
* readonly protected array $PairwiseSort
* protected array $Arcs
* protected ?array $Stats
* protected bool $StatsDone
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected followCycle (array $virtualArcs, int $startCandidateKey, int $searchCandidateKey, array $done = []): array
* protected getArcsInCycle (array $virtualArcs): array
* protected getStats (): array
* protected getWinners (array $alreadyDone): array
* protected makeArcs (): void
* protected makeResult (): array
* protected pairwiseSort (): array
```
#### Abstract CondorcetPHP\Condorcet\Algo\Methods\RankedPairs\RankedPairs_Core extends CondorcetPHP\Condorcet\Algo\Method implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* protected const RP_VARIANT_1: (string)
* public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* public static ?int $MaxCandidates
* readonly protected array $PairwiseSort
* protected array $Arcs
* protected ?array $Stats
* protected bool $StatsDone
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected followCycle (array $virtualArcs, int $startCandidateKey, int $searchCandidateKey, array $done = []): array
* protected getArcsInCycle (array $virtualArcs): array
* protected getStats (): array
* protected getWinners (array $alreadyDone): array
* protected makeArcs (): void
* protected makeResult (): array
* protected pairwiseSort (): array
```
#### CondorcetPHP\Condorcet\Algo\Methods\STV\CPO_STV extends CondorcetPHP\Condorcet\Algo\Methods\STV\SingleTransferableVote implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* public const METHOD_NAME: (array)
* public const DEFAULT_METHODS_CHAINING: (array)
* final public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* public static ?int $MaxOutcomeComparisons
* public static CondorcetPHP\Condorcet\Algo\Tools\StvQuotas $optionQuota
* public static array $optionCondorcetCompletionMethod
* public static array $optionTieBreakerMethods
* protected ?array $Stats
* protected SplFixedArray $outcomes
* readonly protected array $initialScoreTable
* protected array $candidatesElectedFromFirstRound
* readonly protected array $candidatesEliminatedFromFirstRound
* protected SplFixedArray $outcomeComparisonTable
* readonly protected int $condorcetWinnerOutcome
* readonly protected array $completionMethodPairwise
* readonly protected CondorcetPHP\Condorcet\Result $completionMethodResult
* protected float $votesNeededToWin
* public static ?int $MaxCandidates
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compareOutcomes (): void
* protected compute (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected getOutcomesComparisonKey (int $MainOutcomeKey, int $ComparedOutcomeKey): string
* protected getStats (): array
* protected makeScore (array $surplus = [], array $candidateElected = [], array $candidateEliminated = []): array
* protected selectBestOutcome (): void
* protected sortResultBeforeCut (array $result): void
```
#### CondorcetPHP\Condorcet\Algo\Methods\STV\SingleTransferableVote extends CondorcetPHP\Condorcet\Algo\Method implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* final public const IS_PROPORTIONAL: (boolean)
* public const METHOD_NAME: (array)
* public const DECIMAL_PRECISION: (integer)
* public static CondorcetPHP\Condorcet\Algo\Tools\StvQuotas $optionQuota
* protected ?array $Stats
* protected float $votesNeededToWin
* public static ?int $MaxCandidates
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected getStats (): array
* protected makeScore (array $surplus = [], array $candidateElected = [], array $candidateEliminated = []): array
```
#### CondorcetPHP\Condorcet\Algo\Methods\Schulze\SchulzeMargin extends CondorcetPHP\Condorcet\Algo\Methods\Schulze\Schulze_Core implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* public const METHOD_NAME: (array)
* public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* protected array $StrongestPaths
* public static ?int $MaxCandidates
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected getStats (): array
* protected makeRanking (): void
* protected makeStrongestPaths (): void
* protected prepareStrongestPath (): void
* protected schulzeVariant (int $i, int $j, CondorcetPHP\Condorcet\Election $election): int
```
#### CondorcetPHP\Condorcet\Algo\Methods\Schulze\SchulzeRatio extends CondorcetPHP\Condorcet\Algo\Methods\Schulze\Schulze_Core implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* public const METHOD_NAME: (array)
* public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* protected array $StrongestPaths
* public static ?int $MaxCandidates
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected getStats (): array
* protected makeRanking (): void
* protected makeStrongestPaths (): void
* protected prepareStrongestPath (): void
* protected schulzeVariant (int $i, int $j, CondorcetPHP\Condorcet\Election $election): float
```
#### CondorcetPHP\Condorcet\Algo\Methods\Schulze\SchulzeWinning extends CondorcetPHP\Condorcet\Algo\Methods\Schulze\Schulze_Core implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* public const METHOD_NAME: (array)
* public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* protected array $StrongestPaths
* public static ?int $MaxCandidates
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected getStats (): array
* protected makeRanking (): void
* protected makeStrongestPaths (): void
* protected prepareStrongestPath (): void
* protected schulzeVariant (int $i, int $j, CondorcetPHP\Condorcet\Election $election): int
```
#### Abstract CondorcetPHP\Condorcet\Algo\Methods\Schulze\Schulze_Core extends CondorcetPHP\Condorcet\Algo\Method implements CondorcetPHP\Condorcet\Algo\MethodInterface
```php
* public const IS_PROPORTIONAL: (boolean)
* public const DECIMAL_PRECISION: (integer)
* protected array $StrongestPaths
* public static ?int $MaxCandidates
* readonly protected WeakReference $selfElection
* protected ?CondorcetPHP\Condorcet\Result $Result
* protected string $objectVersion
* public static setOption (string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public __construct (CondorcetPHP\Condorcet\Election $mother)
* public __serialize (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getObjectVersion (bool $major = false): string
* public getResult (): CondorcetPHP\Condorcet\Result
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* protected compute (): void
* protected createResult (array $result): CondorcetPHP\Condorcet\Result
* protected getStats (): array
* protected makeRanking (): void
* protected makeStrongestPaths (): void
* protected prepareStrongestPath (): void
* protected schulzeVariant (int $i, int $j, CondorcetPHP\Condorcet\Election $election): int|float
```
#### CondorcetPHP\Condorcet\Algo\Pairwise implements ArrayAccess, Iterator, Traversable
```php
* private bool $valid
* protected WeakReference $Election
* protected array $Pairwise_Model
* protected array $Pairwise
* protected string $objectVersion
* public __construct (CondorcetPHP\Condorcet\Election $link)
* public __serialize (): array
* public addNewVote (int $key): void
* public current (): array
* public getElection (): CondorcetPHP\Condorcet\Election
* public getExplicitPairwise (): array
* public getObjectVersion (bool $major = false): string
* public key (): ?int
* public next (): void
* public offsetExists (mixed $offset): bool
* public offsetGet (mixed $offset): ?array
* public offsetSet (mixed $offset, mixed $value): void
* public offsetUnset (mixed $offset): void
* public removeVote (int $key): void
* public rewind (): void
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* public valid (): bool
* protected computeOneVote (array $pairwise, CondorcetPHP\Condorcet\Vote $oneVote): void
* protected doPairwise (): void
* protected formatNewpairwise (): void
```
#### CondorcetPHP\Condorcet\Algo\StatsVerbosity implements UnitEnum, BackedEnum
```php
* ```case StatsVerbosity::NONE```
* ```case StatsVerbosity::LOW```
* ```case StatsVerbosity::STD```
* ```case StatsVerbosity::HIGH```
* ```case StatsVerbosity::FULL```
* ```case StatsVerbosity::DEBUG```
* readonly public string $name
* readonly public int $value
```
#### CondorcetPHP\Condorcet\Algo\Tools\Combinations
```php
* public static bool $useBigIntegerIfAvailable
* public static compute (array $values, int $length, array $append_before = []): SplFixedArray
* public static computeGenerator (array $values, int $length, array $append_before = []): Generator
* public static getPossibleCountOfCombinations (int $count, int $length): int
```
#### Abstract CondorcetPHP\Condorcet\Algo\Tools\PairwiseStats
```php
* public static PairwiseComparison (CondorcetPHP\Condorcet\Algo\Pairwise $pairwise): array
```
#### CondorcetPHP\Condorcet\Algo\Tools\Permutations
```php
* public static bool $useBigIntegerIfAvailable
* readonly protected array $candidates
* public static getPossibleCountOfPermutations (int $candidatesNumber): int
* public __construct (array $candidates)
* public getPermutationGenerator (): Generator
* public getResults (): SplFixedArray
* protected permutationGenerator (array $elements): Generator
```
#### CondorcetPHP\Condorcet\Algo\Tools\StvQuotas implements UnitEnum, BackedEnum
```php
* ```case StvQuotas::DROOP```
* ```case StvQuotas::HARE```
* ```case StvQuotas::HAGENBACH_BISCHOFF```
* ```case StvQuotas::IMPERIALI```
* readonly public string $name
* readonly public string $value
* public static make (string $quota): self
* public getQuota (int $votesWeight, int $seats): float
```
#### Abstract CondorcetPHP\Condorcet\Algo\Tools\TieBreakersCollection
```php
* public static electSomeLosersbasedOnPairwiseComparaison (CondorcetPHP\Condorcet\Election $election, array $candidatesKeys): array
* public static tieBreakerWithAnotherMethods (CondorcetPHP\Condorcet\Election $election, array $methods, array $candidatesKeys): array
```
#### Abstract CondorcetPHP\Condorcet\Algo\Tools\VirtualVote
```php
* public static removeCandidates (CondorcetPHP\Condorcet\Vote $vote, array $candidatesList): CondorcetPHP\Condorcet\Vote
```
#### CondorcetPHP\Condorcet\Benchmarks\AddVotesBench
```php
* protected CondorcetPHP\Condorcet\Election $election
* public benchVotesWithManyCandidates (): void
```
#### CondorcetPHP\Condorcet\Benchmarks\IntensiveUsageBench
```php
* public benchSimpleManyVotes (): void
```
#### CondorcetPHP\Condorcet\Benchmarks\KemenyYoungBench
```php
* public __construct ()
* public benchKemenyYoung (array $params): void
* public provideCandidatesCount (): Generator
```
#### CondorcetPHP\Condorcet\Benchmarks\MethodsNonProportionalBench
```php
* public bool $IS_A_PROPORTIONAL_BENCH
* public array $numberOfCandidates
* protected CondorcetPHP\Condorcet\Election $election
* public __construct ()
* public benchByCandidates (array $params): void
* public provideMethods (): Generator
* public provideNumberOfCandidates (): Generator
* public setUp (array $params): void
* protected buildElection (int $numberOfCandidates, int $numberOfVotes): void
```
#### CondorcetPHP\Condorcet\Benchmarks\MethodsProportionalBench extends CondorcetPHP\Condorcet\Benchmarks\MethodsNonProportionalBench
```php
* public bool $IS_A_PROPORTIONAL_BENCH
* public array $numberOfCandidates
* protected CondorcetPHP\Condorcet\Election $election
* public __construct ()
* public benchByCandidates (array $params): void
* public provideMethods (): Generator
* public provideNumberOfCandidates (): Generator
* public setUp (array $params): void
* protected buildElection (int $numberOfCandidates, int $numberOfVotes): void
```
#### CondorcetPHP\Condorcet\Benchmarks\PairwiseNumberOfCandidatesBench
```php
* public array $numberOfCandidates
* public array $numberOfVotes
* protected CondorcetPHP\Condorcet\Election $election
* public __construct ()
* public benchByCandidates (array $params): void
* public provideNumberOfCandidates (): Generator
* public provideNumberOfVotes (): Generator
* protected buildElection (int $numberOfCandidates, int $numberOfVotes): void
```
#### CondorcetPHP\Condorcet\Benchmarks\PairwiseUpdateOptimizationBench
```php
* public benchPairwiseOptimization (): void
```
#### CondorcetPHP\Condorcet\Benchmarks\SimpleUsageBench
```php
* public benchSimpleManyVotes (): void
```
#### CondorcetPHP\Condorcet\Candidate implements Stringable
```php
* private array $name
* private bool $provisional
* private ?WeakMap $link
* protected string $objectVersion
* public __clone (): void
* public __construct (string $name)
* public __serialize (): array
* public __toString (): string
* public countLinks (): int
* public destroyLink (CondorcetPHP\Condorcet\Election $election): bool
* public getCreateTimestamp (): float
* public getHistory (): array
* public getLinks (): WeakMap
* public getName (): string
* public getObjectVersion (bool $major = false): string
* public getProvisionalState (): bool
* public getTimestamp (): float
* public haveLink (CondorcetPHP\Condorcet\Election $election): bool
* public registerLink (CondorcetPHP\Condorcet\Election $election): void
* public setName (string $name): bool
* public setProvisionalState (bool $provisional): void
* protected destroyAllLink (): void
* protected initWeakMap (): void
* private checkNameInElectionContext (string $name): bool
```
#### Abstract CondorcetPHP\Condorcet\Condorcet
```php
* final public const AUTHOR: (string)
* final public const HOMEPAGE: (string)
* final public const VERSION: (string)
* final public const CONDORCET_BASIC_CLASS: (string)
* protected static ?string $defaultMethod
* protected static array $authMethods
* public static bool $UseTimer
* public static addMethod (string $methodClass): bool
* public static condorcetBasicSubstitution (?string $substitution): string
* public static getAuthMethods (bool $basic = false): array
* public static getDefaultMethod (): ?string
* public static getMethodClass (string $method): ?string
* public static getVersion (bool $major = false): string
* public static isAuthMethod (string $method): bool
* public static setDefaultMethod (string $method): bool
* protected static testMethod (string $method): bool
```
#### CondorcetPHP\Condorcet\Console\Commands\ElectionCommand extends Symfony\Component\Console\Command\Command
```php
* public const SUCCESS: (integer)
* public const FAILURE: (integer)
* public const INVALID: (integer)
* protected ?CondorcetPHP\Condorcet\Election $election
* protected ?string $candidates
* protected ?string $votes
* protected bool $displayMethodsStats
* protected ?string $CondorcetElectionFormatPath
* protected ?string $DebianFormatPath
* protected ?string $DavidHillFormatPath
* public static int $VotesPerMB
* protected string $iniMemoryLimit
* protected int $maxVotesInMemory
* protected bool $candidatesListIsWrite
* protected bool $votesCountIsWrite
* protected bool $pairwiseIsWrite
* public ?string $SQLitePath
* protected Symfony\Component\Console\Terminal $terminal
* protected CondorcetPHP\Condorcet\Console\Style\CondorcetStyle $io
* public static ?string $forceIniMemoryLimitTo
* protected CondorcetPHP\Condorcet\Timer\Manager $timer
* protected static $defaultName
* protected static $defaultDescription
* public static getDefaultDescription (): ?string
* public static getDefaultName (): ?string
* public __construct (?string $name = null)
* public addArgument (string $name, ?int $mode = null, string $description = , mixed $default = null): static
* public addOption (string $name, array|string|null $shortcut = null, ?int $mode = null, string $description = , mixed $default = null): static
* public addUsage (string $usage): static
* public complete (Symfony\Component\Console\Completion\CompletionInput $input, Symfony\Component\Console\Completion\CompletionSuggestions $suggestions): void
* public getAliases (): array
* public getApplication (): ?Symfony\Component\Console\Application
* public getDefinition (): Symfony\Component\Console\Input\InputDefinition
* public getDescription (): string
* public getHelp (): string
* public getHelper (string $name): mixed
* public getHelperSet (): ?Symfony\Component\Console\Helper\HelperSet
* public getName (): ?string
* public getNativeDefinition (): Symfony\Component\Console\Input\InputDefinition
* public getProcessedHelp (): string
* public getSynopsis (bool $short = false): string
* public getUsages (): array
* public ignoreValidationErrors ()
* public isEnabled ()
* public isHidden (): bool
* public mergeApplicationDefinition (bool $mergeArgs = true)
* public run (Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output): int
* public setAliases (iterable $aliases): static
* public setApplication (?Symfony\Component\Console\Application $application = null)
* public setCode (callable $code): static
* public setDefinition (Symfony\Component\Console\Input\InputDefinition|array $definition): static
* public setDescription (string $description): static
* public setHelp (string $help): static
* public setHelperSet (Symfony\Component\Console\Helper\HelperSet $helperSet)
* public setHidden (bool $hidden = true): static
* public setName (string $name): static
* public setProcessTitle (string $title): static
* protected configure (): void
* protected displayCandidatesList (Symfony\Component\Console\Output\OutputInterface $output): void
* protected displayConfigurationSection (): void
* protected displayDebugSection (): void
* protected displayDetailedElectionInputsSection (Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output): void
* protected displayInputsSection (): void
* protected displayMethodsResultSection (Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output): void
* protected displayNaturalCondorcet (Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output): void
* protected displayPairwiseSection (Symfony\Component\Console\Output\OutputInterface $output): void
* protected displayTimerSection (): void
* protected displayVerbose (Symfony\Component\Console\Output\OutputInterface $output): void
* protected displayVotesCount (Symfony\Component\Console\Output\OutputInterface $output): void
* protected displayVotesList (Symfony\Component\Console\Output\OutputInterface $output): void
* protected execute (Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output): int
* protected importInputsData (Symfony\Component\Console\Input\InputInterface $input): void
* protected initialize (Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output): void
* protected interact (Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output): void
* protected parseFromCandidatesArguments (): void
* protected parseFromCondorcetElectionFormat (Closure $callBack): void
* protected parseFromDavidHillFormat (): void
* protected parseFromDebianFormat (): void
* protected parseFromVotesArguments (Closure $callBack): void
* protected setUpParameters (Symfony\Component\Console\Input\InputInterface $input): void
* protected useDataHandler (Symfony\Component\Console\Input\InputInterface $input): ?Closure
```
#### Abstract CondorcetPHP\Condorcet\Console\CondorcetApplication
```php
* public static Symfony\Component\Console\Application $SymfonyConsoleApplication
* public static create (): bool
* public static getVersionWithGitParsing (): string
* public static run (): void
```
#### Abstract CondorcetPHP\Condorcet\Console\Helper\CommandInputHelper
```php
* public static getFilePath (string $path): ?string
* public static pathIsAbsolute (string $path): bool
```
#### Abstract CondorcetPHP\Condorcet\Console\Helper\FormaterHelper
```php
* public static formatResultTable (CondorcetPHP\Condorcet\Result $result): array
* public static prepareMethods (array $methodArgument): array
```
#### CondorcetPHP\Condorcet\Console\Style\CondorcetStyle extends Symfony\Component\Console\Style\SymfonyStyle implements Symfony\Component\Console\Output\OutputInterface, Symfony\Component\Console\Style\StyleInterface
```php
* public const CONDORCET_MAIN_COLOR: (string)
* public const CONDORCET_SECONDARY_COLOR: (string)
* public const CONDORCET_THIRD_COLOR: (string)
* public const CONDORCET_WINNER_SYMBOL: (string)
* public const CONDORCET_LOSER_SYMBOL: (string)
* public const CONDORCET_WINNER_SYMBOL_FORMATED: (string)
* public const CONDORCET_LOSER_SYMBOL_FORMATED: (string)
* public const MAX_LINE_LENGTH: (integer)
* public const VERBOSITY_QUIET: (integer)
* public const VERBOSITY_NORMAL: (integer)
* public const VERBOSITY_VERBOSE: (integer)
* public const VERBOSITY_VERY_VERBOSE: (integer)
* public const VERBOSITY_DEBUG: (integer)
* public const OUTPUT_NORMAL: (integer)
* public const OUTPUT_RAW: (integer)
* public const OUTPUT_PLAIN: (integer)
* readonly public Symfony\Component\Console\Helper\TableStyle $MainTableStyle
* readonly public Symfony\Component\Console\Helper\TableStyle $FirstColumnStyle
* public __construct (Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output)
* public ask (string $question, ?string $default = null, ?callable $validator = null): mixed
* public askHidden (string $question, ?callable $validator = null): mixed
* public askQuestion (Symfony\Component\Console\Question\Question $question): mixed
* public author (string $author): void
* public block (array|string $messages, ?string $type = null, ?string $style = null, string $prefix = , bool $padding = false, bool $escape = true)
* public caution (array|string $message)
* public choice (string $question, array $choices, mixed $default = null): mixed
* public choiceMultiple (string $question, array $choices, mixed $default, bool $multi): mixed
* public comment (array|string $message)
* public confirm (string $question, bool $default = true): bool
* public createProgressBar (int $max = 0): Symfony\Component\Console\Helper\ProgressBar
* public createTable (): Symfony\Component\Console\Helper\Table
* public definitionList (Symfony\Component\Console\Helper\TableSeparator|array|string $list)
* public error (array|string $message)
* public getErrorStyle (): self
* public getFormatter (): Symfony\Component\Console\Formatter\OutputFormatterInterface
* public getVerbosity (): int
* public homepage (string $homepage): void
* public horizontalTable (array $headers, array $rows)
* public info (array|string $message)
* public inlineSeparator (): void
* public instruction (string $prefix, string $message): void
* public isDebug (): bool
* public isDecorated (): bool
* public isQuiet (): bool
* public isVerbose (): bool
* public isVeryVerbose (): bool
* public listing (array $elements)
* public logo (int $terminalSize): void
* public methodResultSection (string $message): void
* public newLine (int $count = 1)
* public note (array|string $message): void
* public progressAdvance (int $step = 1)
* public progressFinish ()
* public progressIterate (iterable $iterable, ?int $max = null): iterable
* public progressStart (int $max = 0)
* public section (string $message): void
* public setDecorated (bool $decorated)
* public setFormatter (Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter)
* public setVerbosity (int $level)
* public success (array|string $message): void
* public table (array $headers, array $rows)
* public text (array|string $message)
* public title (string $message)
* public version (): void
* public warning (array|string $message)
* public write (iterable|string $messages, bool $newline = false, int $type = 1)
* public writeln (iterable|string $messages, int $type = 1)
* protected getErrorOutput ()
```
#### CondorcetPHP\Condorcet\Constraints\NoTie implements CondorcetPHP\Condorcet\VoteConstraintInterface
```php
* public static isVoteAllow (CondorcetPHP\Condorcet\Election $election, CondorcetPHP\Condorcet\Vote $vote): bool
```
#### Abstract CondorcetPHP\Condorcet\DataManager\ArrayManager implements ArrayAccess, Countable, Iterator, Traversable
```php
* public static int $CacheSize
* public static int $MaxContainerLength
* protected array $Container
* protected ?CondorcetPHP\Condorcet\DataManager\DataHandlerDrivers\DataHandlerDriverInterface $DataHandler
* protected WeakReference $Election
* protected array $Cache
* protected int $CacheMaxKey
* protected int $CacheMinKey
* protected ?int $cursor
* protected int $counter
* protected int $maxKey
* protected bool $valid
* protected string $objectVersion
* public __construct (CondorcetPHP\Condorcet\Election $election)
* public __destruct ()
* public __serialize (): array
* public __unserialize (array $data): void
* public checkRegularize (): bool
* public clearCache (): void
* public closeHandler (): void
* public count (): int
* public current (): mixed
* public debugGetCache (): array
* public getCacheSize (): int
* public getContainerSize (): int
* public getElection (): CondorcetPHP\Condorcet\Election
* public getFirstKey (): int
* public getFullDataSet (): array
* public getObjectVersion (bool $major = false): string
* public importHandler (CondorcetPHP\Condorcet\DataManager\DataHandlerDrivers\DataHandlerDriverInterface $handler): bool
* public isUsingHandler (): bool
* public key (): ?int
* public keyExist (int $offset): bool
* public next (): void
* public offsetExists (mixed $offset): bool
* public offsetGet (mixed $offset): mixed
* public offsetSet (mixed $offset, mixed $value): void
* public offsetUnset (mixed $offset): void
* public regularize (): bool
* public resetCounter (): int
* public resetMaxKey (): ?int
* public rewind (): void
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* public valid (): bool
* protected decodeManyEntities (array $entities): array
* protected decodeOneEntity (string $data): CondorcetPHP\Condorcet\Vote
* protected encodeManyEntities (array $entities): array
* protected encodeOneEntity (CondorcetPHP\Condorcet\Vote $data): string
* protected populateCache (): void
* protected preDeletedTask (CondorcetPHP\Condorcet\Vote $object): void
* protected setCursorOnNextKeyInArray (array $array): void
```
#### CondorcetPHP\Condorcet\DataManager\DataHandlerDrivers\PdoDriver\PdoHandlerDriver implements CondorcetPHP\Condorcet\DataManager\DataHandlerDrivers\DataHandlerDriverInterface
```php
* public const SEGMENT: (array)
* protected PDO $handler
* protected bool $transaction
* protected bool $queryError
* public static bool $preferBlobInsteadVarchar
* protected array $struct
* protected array $prepare
* protected string $objectVersion
* public __construct (PDO $bdd, bool $tryCreateTable = false, array $struct = [Entities,id,data])
* public closeTransaction (): void
* public countEntities (): int
* public createTable (): void
* public deleteOneEntity (int $key, bool $justTry): ?int
* public getObjectVersion (bool $major = false): string
* public insertEntities (array $input): void
* public selectMaxKey (): ?int
* public selectMinKey (): int
* public selectOneEntity (int $key): string|bool
* public selectRangeEntities (int $key, int $limit): array
* protected checkStructureTemplate (array $struct): bool
* protected initPrepareQuery (): void
* protected initTransaction (): void
* protected sliceInput (array $input): void
```
#### CondorcetPHP\Condorcet\DataManager\VotesManager extends CondorcetPHP\Condorcet\DataManager\ArrayManager implements Traversable, Iterator, Countable, ArrayAccess
```php
* public static int $CacheSize
* public static int $MaxContainerLength
* protected array $Container
* protected ?CondorcetPHP\Condorcet\DataManager\DataHandlerDrivers\DataHandlerDriverInterface $DataHandler
* protected WeakReference $Election
* protected array $Cache
* protected int $CacheMaxKey
* protected int $CacheMinKey
* protected ?int $cursor
* protected int $counter
* protected int $maxKey
* protected bool $valid
* protected string $objectVersion
* public UpdateAndResetComputing (int $key, int $type): void
* public __construct (CondorcetPHP\Condorcet\Election $election)
* public __destruct ()
* public __serialize (): array
* public __unserialize (array $data): void
* public checkRegularize (): bool
* public clearCache (): void
* public closeHandler (): void
* public count (): int
* public countInvalidVoteWithConstraints (): int
* public countVotes (?array $tag, bool $with): int
* public current (): mixed
* public debugGetCache (): array
* public getCacheSize (): int
* public getContainerSize (): int
* public getElection (): CondorcetPHP\Condorcet\Election
* public getFirstKey (): int
* public getFullDataSet (): array
* public getObjectVersion (bool $major = false): string
* public getVoteKey (CondorcetPHP\Condorcet\Vote $vote): ?int
* public getVotesList (?array $tags = null, bool $with = true): array
* public getVotesListAsString (bool $withContext): string
* public getVotesListGenerator (?array $tags = null, bool $with = true): Generator
* public getVotesValidUnderConstraintGenerator (?array $tags = null, bool $with = true): Generator
* public importHandler (CondorcetPHP\Condorcet\DataManager\DataHandlerDrivers\DataHandlerDriverInterface $handler): bool
* public isUsingHandler (): bool
* public key (): ?int
* public keyExist (int $offset): bool
* public next (): void
* public offsetExists (mixed $offset): bool
* public offsetGet (mixed $offset): CondorcetPHP\Condorcet\Vote
* public offsetSet (mixed $offset, mixed $value): void
* public offsetUnset (mixed $offset): void
* public regularize (): bool
* public resetCounter (): int
* public resetMaxKey (): ?int
* public rewind (): void
* public setElection (CondorcetPHP\Condorcet\Election $election): void
* public sumVotesWeight (bool $constraint = false): int
* public valid (): bool
* protected decodeManyEntities (array $entities): array
* protected decodeOneEntity (string $data): CondorcetPHP\Condorcet\Vote
* protected encodeManyEntities (array $entities): array
* protected encodeOneEntity (CondorcetPHP\Condorcet\Vote $data): string
* protected getFullVotesListGenerator (): Generator
* protected getPartialVotesListGenerator (array $tags, bool $with): Generator
* protected populateCache (): void
* protected preDeletedTask (CondorcetPHP\Condorcet\Vote $object): void
* protected setCursorOnNextKeyInArray (array $array): void
```
#### CondorcetPHP\Condorcet\Election
```php
* public const MAX_CANDIDATE_NAME_LENGTH: (integer)
* protected static ?int $maxParseIteration
* protected static ?int $maxVoteNumber
* protected static bool $checksumMode
* protected CondorcetPHP\Condorcet\ElectionProcess\ElectionState $State
* protected CondorcetPHP\Condorcet\Timer\Manager $timer
* protected bool $ImplicitRanking
* protected bool $VoteWeightRule
* protected array $Constraints
* protected int $Seats
* protected string $objectVersion
* protected array $Candidates
* protected string $AutomaticNewCandidateName
* protected CondorcetPHP\Condorcet\DataManager\VotesManager $Votes
* protected int $voteFastMode
* protected ?CondorcetPHP\Condorcet\Algo\Pairwise $Pairwise
* protected ?array $Calculator
* protected CondorcetPHP\Condorcet\Algo\StatsVerbosity $StatsVerbosity
* public static setMaxParseIteration (?int $maxParseIterations): ?int
* public static setMaxVoteNumber (?int $maxVotesNumber): ?int
* protected static formatResultOptions (array $arg): array
* public __clone (): void
* public __construct ()
* public __serialize (): array
* public __unserialize (array $data): void
* public addCandidate (CondorcetPHP\Condorcet\Candidate|string|null $candidate = null): CondorcetPHP\Condorcet\Candidate
* public addCandidatesFromJson (string $input): array
* public addConstraint (string $constraintClass): bool
* public addVote (CondorcetPHP\Condorcet\Vote|array|string $vote, array|string|null $tags = null): CondorcetPHP\Condorcet\Vote
* public addVotesFromJson (string $input): int
* public allowsVoteWeight (bool $rule = true): bool
* public canAddCandidate (CondorcetPHP\Condorcet\Candidate|string $candidate): bool
* public checkVoteCandidate (CondorcetPHP\Condorcet\Vote $vote): bool
* public cleanupCalculator (): void
* public clearConstraints (): bool
* public computeResult (?string $method = null): void
* public convertRankingCandidates (array $ranking): bool
* public countCandidates (): int
* public countInvalidVoteWithConstraints (): int
* public countValidVoteWithConstraints (): int
* public countVotes (array|string|null $tags = null, bool $with = true): int
* public debugGetCalculator (): ?array
* public finishUpdateVote (CondorcetPHP\Condorcet\Vote $existVote): void
* public getCandidateKey (CondorcetPHP\Condorcet\Candidate|string $candidate): ?int
* public getCandidateObjectFromKey (int $candidate_key): ?CondorcetPHP\Condorcet\Candidate
* public getCandidateObjectFromName (string $candidateName): ?CondorcetPHP\Condorcet\Candidate
* public getCandidatesList (): array
* public getCandidatesListAsString (): array
* public getChecksum (): string
* public getCondorcetLoser (): ?CondorcetPHP\Condorcet\Candidate
* public getCondorcetWinner (): ?CondorcetPHP\Condorcet\Candidate
* public getConstraints (): array
* public getExplicitPairwise (): array
* public getGlobalTimer (): float
* public getImplicitRankingRule (): bool
* public getLastTimer (): float
* public getLoser (?string $method = null): CondorcetPHP\Condorcet\Candidate|array|null
* public getNumberOfSeats (): int
* public getObjectVersion (bool $major = false): string
* public getPairwise (): CondorcetPHP\Condorcet\Algo\Pairwise
* public getResult (?string $method = null, array $methodOptions = []): CondorcetPHP\Condorcet\Result
* public getState (): CondorcetPHP\Condorcet\ElectionProcess\ElectionState
* public getStatsVerbosity (): CondorcetPHP\Condorcet\Algo\StatsVerbosity
* public getTimerManager (): CondorcetPHP\Condorcet\Timer\Manager
* public getVoteKey (CondorcetPHP\Condorcet\Vote $vote): ?int
* public getVotesList (array|string|null $tags = null, bool $with = true): array
* public getVotesListAsString (bool $withContext = true): string
* public getVotesListGenerator (array|string|null $tags = null, bool $with = true): Generator
* public getVotesManager (): CondorcetPHP\Condorcet\DataManager\VotesManager
* public getVotesValidUnderConstraintGenerator (array|string|null $tags = null, bool $with = true): Generator
* public getWinner (?string $method = null): CondorcetPHP\Condorcet\Candidate|array|null
* public isRegisteredCandidate (CondorcetPHP\Condorcet\Candidate|string $candidate, bool $strictMode = true): bool
* public isVoteWeightAllowed (): bool
* public parseCandidates (string $input, bool $isFile = false): array
* public parseVotes (string $input, bool $isFile = false): int
* public parseVotesWithoutFail (SplFileInfo|string $input, bool $isFile = false, ?Closure $callBack = null): int
* public prepareUpdateVote (CondorcetPHP\Condorcet\Vote $existVote): void
* public removeCandidates (CondorcetPHP\Condorcet\Candidate|array|string $candidates_input): array
* public removeExternalDataHandler (): bool
* public removeVote (CondorcetPHP\Condorcet\Vote $vote): bool
* public removeVotesByTags (array|string $tags, bool $with = true): array
* public setExternalDataHandler (CondorcetPHP\Condorcet\DataManager\DataHandlerDrivers\DataHandlerDriverInterface $driver): bool
* public setImplicitRanking (bool $rule = true): bool
* public setMethodOption (string $method, string $optionName, BackedEnum|array|string|int|float $optionValue): bool
* public setNumberOfSeats (int $seats): int
* public setStateToVote (): bool
* public setStatsVerbosity (CondorcetPHP\Condorcet\Algo\StatsVerbosity $StatsVerbosity): void
* public sumValidVotesWeightWithConstraints (): int
* public sumVotesWeight (): int
* public testIfVoteIsValidUnderElectionConstraints (CondorcetPHP\Condorcet\Vote $vote): bool
* protected cleanupCompute (): void
* protected doAddVotesFromParse (array $adding): void
* protected initResult (string $class): void
* protected makePairwise (): void
* protected preparePairwiseAndCleanCompute (): bool
* protected prepareVoteInput (CondorcetPHP\Condorcet\Vote|array|string $vote, array|string|null $tags = null): void
* protected registerAllLinks (): void
* protected registerVote (CondorcetPHP\Condorcet\Vote $vote, array|string|null $tags): CondorcetPHP\Condorcet\Vote
* protected synthesisVoteFromParse (int $count, int $multiple, array $adding, CondorcetPHP\Condorcet\Vote|array|string $vote, array|string|null $tags, int $weight): void
```
#### CondorcetPHP\Condorcet\ElectionProcess\ElectionState implements UnitEnum, BackedEnum
```php
* ```case ElectionState::CANDIDATES_REGISTRATION```
* ```case ElectionState::VOTES_REGISTRATION```
* readonly public string $name
* readonly public int $value
```
#### CondorcetPHP\Condorcet\Result implements ArrayAccess, Countable, Iterator, Traversable
```php
* readonly protected array $Result
* protected array $ResultIterator
* protected $Stats
* protected array $warning
* readonly public array $ranking
* readonly public array $rankingAsString
* readonly public ?int $seats
* readonly public array $methodOptions
* readonly public ?CondorcetPHP\Condorcet\Candidate $CondorcetWinner
* readonly public ?CondorcetPHP\Condorcet\Candidate $CondorcetLoser
* readonly public float $buildTimestamp
* readonly public string $fromMethod
* readonly public string $byClass
* readonly public CondorcetPHP\Condorcet\Algo\StatsVerbosity $statsVerbosity
* readonly public string $electionCondorcetVersion
* protected string $objectVersion
* public __construct (string $fromMethod, string $byClass, CondorcetPHP\Condorcet\Election $election, array $result, $stats, ?int $seats = null, array $methodOptions = [])
* public addWarning (int $type, ?string $msg = null): bool
* public count (): int
* public current (): CondorcetPHP\Condorcet\Candidate|array
* public getBuildTimeStamp (): float
* public getClassGenerator (): string
* public getCondorcetElectionGeneratorVersion (): string
* public getCondorcetLoser (): ?CondorcetPHP\Condorcet\Candidate
* public getCondorcetWinner (): ?CondorcetPHP\Condorcet\Candidate
* public getLoser (): CondorcetPHP\Condorcet\Candidate|array|null
* public getMethod (): string
* public getMethodOptions (): array
* public getNumberOfSeats (): ?int
* public getObjectVersion (bool $major = false): string
* public getOriginalResultArrayWithString (): array
* public getResultAsArray (bool $convertToString = false): array
* public getResultAsInternalKey (): array
* public getResultAsString (): string
* public getStats (): mixed
* public getWarning (?int $type = null): array
* public getWinner (): CondorcetPHP\Condorcet\Candidate|array|null
* public isProportional (): bool
* public key (): int
* public next (): void
* public offsetExists (mixed $offset): bool
* public offsetGet (mixed $offset): CondorcetPHP\Condorcet\Candidate|array|null
* public offsetSet (mixed $offset, mixed $value): void
* public offsetUnset (mixed $offset): void
* public rewind (): void
* public valid (): bool
* protected makeUserResult (CondorcetPHP\Condorcet\Election $election): array
```
#### CondorcetPHP\Condorcet\Throwable\AlgorithmException extends CondorcetPHP\Condorcet\Throwable\CondorcetPublicApiException implements Throwable, Stringable
```php
* protected $message
* protected $code
* protected string $file
* protected int $line
* protected string $objectVersion
* public __construct (string|int|null $message = null)
* public getObjectVersion (bool $major = false): string
```
#### CondorcetPHP\Condorcet\Throwable\AlgorithmWithoutRankingFeatureException extends CondorcetPHP\Condorcet\Throwable\CondorcetPublicApiException implements Throwable, Stringable
```php
* protected $message
* protected $code
* protected string $file
* protected int $line
* protected string $objectVersion
* public __construct (string|int|null $message = null)
* public getObjectVersion (bool $major = false): string
```
#### CondorcetPHP\Condorcet\Throwable\CandidateDoesNotExistException extends CondorcetPHP\Condorcet\Throwable\CondorcetPublicApiException implements Throwable, Stringable
```php
* protected $message
* protected $code
* protected string $file
* protected int $line
* protected string $objectVersion
* public __construct (string|int|null $message = null)
* public getObjectVersion (bool $major = false): string
```
#### CondorcetPHP\Condorcet\Throwable\CandidateExistsException extends CondorcetPHP\Condorcet\Throwable\CondorcetPublicApiException implements Throwable, Stringable
```php
* protected $message
* protected $code
* protected string $file
* protected int $line
* protected string $objectVersion
* public __construct (string|int|null $message = null)
* public getObjectVersion (bool $major = false): string
```
#### CondorcetPHP\Condorcet\Throwable\CandidateInvalidNameException extends CondorcetPHP\Condorcet\Throwable\CondorcetPublicApiException implements Throwable, Stringable
```php
* protected $message
* protected $code
* protected string $file
* protected int $line
* protected string $objectVersion
* public __construct (string|int|null $message = null)
* public getObjectVersion (bool $major = false): string
```
#### CondorcetPHP\Condorcet\Throwable\CandidatesMaxNumberReachedException extends CondorcetPHP\Condorcet\Throwable\MethodLimitReachedException implements Stringable, Throwable
```php
* protected $message
* readonly public string $method
* protected $code
* protected string $file
* protected int $line
* protected string $objectVersion
* public __construct (string $method, int $maxCandidates)
* public getObjectVersion (bool $major = false): string
```
#### Abstract CondorcetPHP\Condorcet\Throwable\CondorcetPublicApiException extends Exception implements Stringable, Throwable
```php
* protected $message
* protected $code
* protected string $file
* protected int $line
* protected string $objectVersion
* public __construct (string|int|null $message = null)
* public getObjectVersion (bool $major = false): string
```
#### CondorcetPHP\Condorcet\Throwable\DataHandlerException extends CondorcetPHP\Condorcet\Throwable\CondorcetPublicApiException implements Throwable, Stringable
```php
* protected $message
* protected $code
* protected string $file
* protected int $line
* protected string $objectVersion
* public __construct (string|int|null $message = null)
* public getObjectVersion (bool $major = false): string
```
#### CondorcetPHP\Condorcet\Throwable\ElectionObjectVersionMismatchException extends CondorcetPHP\Condorcet\Throwable\CondorcetPublicApiException implements Throwable, Stringable
```php
* protected $message
* protected $code
* protected string $file
* protected int $line
* protected string $objectVersion
* public __construct (string $message = )
* public getObjectVersion (bool $major = false): string
```
#### CondorcetPHP\Condorcet\Throwable\FileDoesNotExistException extends CondorcetPHP\Condorcet\Throwable\CondorcetPublicApiException implements Throwable, Stringable
```php
* protected $message
* protected $code
* protected string $file
* protected int $line
* protected string $objectVersion
* public __construct (string|int|null $message = null)
* public getObjectVersion (bool $major = false): string
```
#### CondorcetPHP\Condorcet\Throwable\Internal\CondorcetInternalError extends Error implements Throwable, Stringable
```php
* protected $message
* protected $code
* protected string $file
* protected int $line
* protected string $objectVersion
* public getObjectVersion (bool $major = false): string
```
#### CondorcetPHP\Condorcet\Throwable\Internal\CondorcetInternalException extends Exception implements Throwable, Stringable
```php
* protected $message
* protected $code
* protected string $file
* protected int $line
```
#### CondorcetPHP\Condorcet\Throwable\Internal\IntegerOverflowException extends CondorcetPHP\Condorcet\Throwable\Internal\CondorcetInternalException implements Stringable, Throwable
```php
* protected $message
* protected $code
* protected string $file
* protected int $line
```
#### CondorcetPHP\Condorcet\Throwable\Internal\NoGitShellException extends CondorcetPHP\Condorcet\Throwable\Internal\CondorcetInternalException implements Stringable, Throwable
```php
* protected $message
* protected $code
* protected string $file
* protected int $line
```
#### CondorcetPHP\Condorcet\Throwable\MethodLimitReachedException extends CondorcetPHP\Condorcet\Throwable\CondorcetPublicApiException implements Throwable, Stringable
```php
* protected $message
* readonly public string $method
* protected $code
* protected string $file
* protected int $line
* protected string $objectVersion
* public __construct (string $method, ?string $message = null)
* public getObjectVersion (bool $major = false): string
```
#### CondorcetPHP\Condorcet\Throwable\NoCandidatesException extends CondorcetPHP\Condorcet\Throwable\CondorcetPublicApiException implements Throwable, Stringable
```php
* protected $message
* protected $code
* protected string $file
* protected int $line
* protected string $objectVersion
* public __construct (string|int|null $message = null)
* public getObjectVersion (bool $major = false): string
```
#### CondorcetPHP\Condorcet\Throwable\NoSeatsException extends CondorcetPHP\Condorcet\Throwable\CondorcetPublicApiException implements Throwable, Stringable
```php
* protected $message
* protected $code
* protected string $file
* protected int $line
* protected string $objectVersion
* public __construct (string|int|null $message = null)
* public getObjectVersion (bool $major = false): string
```
#### CondorcetPHP\Condorcet\Throwable\ResultException extends CondorcetPHP\Condorcet\Throwable\CondorcetPublicApiException implements Throwable, Stringable
```php
* protected $message
* protected $code
* protected string $file
* protected int $line
* protected string $objectVersion
* public __construct (string|int|null $message = null)
* public getObjectVersion (bool $major = false): string
```
#### CondorcetPHP\Condorcet\Throwable\ResultRequestedWithoutVotesException extends CondorcetPHP\Condorcet\Throwable\CondorcetPublicApiException implements Throwable, Stringable
```php
* protected $message
* protected $code
* protected string $file
* protected int $line
* protected string $objectVersion
* public __construct (string|int|null $message = null)
* public getObjectVersion (bool $major = false): string
```
#### CondorcetPHP\Condorcet\Throwable\StvQuotaNotImplementedException extends CondorcetPHP\Condorcet\Throwable\CondorcetPublicApiException implements Throwable, Stringable
```php
* protected $message
* protected $code
* protected string $file
* protected int $line
* protected string $objectVersion
* public __construct (string|int|null $message = null)
* public getObjectVersion (bool $major = false): string
```
#### CondorcetPHP\Condorcet\Throwable\TimerException extends CondorcetPHP\Condorcet\Throwable\CondorcetPublicApiException implements Throwable, Stringable
```php
* protected $message
* protected $code
* protected string $file
* protected int $line
* protected string $objectVersion
* public __construct (string|int|null $message = null)
* public getObjectVersion (bool $major = false): string
```
#### CondorcetPHP\Condorcet\Throwable\VoteConstraintException extends CondorcetPHP\Condorcet\Throwable\CondorcetPublicApiException implements Throwable, Stringable
```php
* protected $message
* protected $code
* protected string $file
* protected int $line
* protected string $objectVersion
* public __construct (string|int|null $message = null)
* public getObjectVersion (bool $major = false): string
```
#### CondorcetPHP\Condorcet\Throwable\VoteException extends CondorcetPHP\Condorcet\Throwable\CondorcetPublicApiException implements Throwable, Stringable
```php
* protected $message
* protected $code
* protected string $file
* protected int $line
* protected string $objectVersion
* public __construct (string|int|null $message = null)
* public getObjectVersion (bool $major = false): string
```
#### CondorcetPHP\Condorcet\Throwable\VoteInvalidFormatException extends CondorcetPHP\Condorcet\Throwable\CondorcetPublicApiException implements Throwable, Stringable
```php
* protected $message
* protected $code
* protected string $file
* protected int $line
* protected string $objectVersion
* public __construct (string|int|null $message = null)
* public getObjectVersion (bool $major = false): string
```
#### CondorcetPHP\Condorcet\Throwable\VoteManagerException extends CondorcetPHP\Condorcet\Throwable\CondorcetPublicApiException implements Throwable, Stringable
```php
* protected $message
* protected $code
* protected string $file
* protected int $line
* protected string $objectVersion
* public __construct (string|int|null $message = null)
* public getObjectVersion (bool $major = false): string
```
#### CondorcetPHP\Condorcet\Throwable\VoteMaxNumberReachedException extends CondorcetPHP\Condorcet\Throwable\CondorcetPublicApiException implements Throwable, Stringable
```php
* protected $message
* protected $code
* protected string $file
* protected int $line
* protected string $objectVersion
* public __construct (string|int|null $message = null)
* public getObjectVersion (bool $major = false): string
```
#### CondorcetPHP\Condorcet\Throwable\VoteNotLinkedException extends CondorcetPHP\Condorcet\Throwable\CondorcetPublicApiException implements Throwable, Stringable
```php
* protected $message
* protected $code
* protected string $file
* protected int $line
* protected string $objectVersion
* public __construct (string|int|null $message = null)
* public getObjectVersion (bool $major = false): string
```
#### CondorcetPHP\Condorcet\Throwable\VotingHasStartedException extends CondorcetPHP\Condorcet\Throwable\CondorcetPublicApiException implements Throwable, Stringable
```php
* protected $message
* protected $code
* protected string $file
* protected int $line
* protected string $objectVersion
* public __construct (string|int|null $message = null)
* public getObjectVersion (bool $major = false): string
```
#### CondorcetPHP\Condorcet\Timer\Chrono
```php
* protected CondorcetPHP\Condorcet\Timer\Manager $manager
* protected float $start
* protected ?string $role
* protected string $objectVersion
* public __construct (CondorcetPHP\Condorcet\Timer\Manager $timer, ?string $role = null)
* public __destruct ()
* public getObjectVersion (bool $major = false): string
* public getRole (): ?string
* public getStart (): float
* public getTimerManager (): CondorcetPHP\Condorcet\Timer\Manager
* public setRole (?string $role): void
* protected managerStartDeclare (): void
* protected resetStart (): void
```
#### CondorcetPHP\Condorcet\Timer\Manager
```php
* protected float $globalTimer
* protected ?float $lastTimer
* protected ?float $lastChronoTimestamp
* protected ?float $startDeclare
* protected array $history
* protected string $objectVersion
* public addTime (CondorcetPHP\Condorcet\Timer\Chrono $chrono): void
* public getGlobalTimer (): float
* public getHistory (): array
* public getLastTimer (): float
* public getObjectVersion (bool $major = false): string
* public startDeclare (CondorcetPHP\Condorcet\Timer\Chrono $chrono): static
```
#### CondorcetPHP\Condorcet\Tools\Converters\CondorcetElectionFormat implements CondorcetPHP\Condorcet\Tools\Converters\ConverterInterface
```php
* public const SPECIAL_KEYWORD_EMPTY_RANKING: (string)
* protected const CANDIDATES_PATTERN: (string)
* protected const SEATS_PATTERN: (string)
* protected const IMPLICIT_PATTERN: (string)
* protected const WEIGHT_PATTERN: (string)
* protected SplFileObject $file
* readonly public array $candidates
* readonly public int $numberOfSeats
* readonly public bool $implicitRanking
* readonly public bool $voteWeight
* readonly public bool $CandidatesParsedFromVotes
* readonly public int $invalidBlocksCount
* public static exportElectionToCondorcetElectionFormat (CondorcetPHP\Condorcet\Election $election, bool $aggregateVotes = true, bool $includeNumberOfSeats = true, bool $includeTags = true, bool $inContext = false, ?SplFileObject $file = null): ?string
* public __construct (SplFileInfo|string $input)
* public setDataToAnElection (CondorcetPHP\Condorcet\Election $election = new CondorcetPHP\Condorcet\Election, ?Closure $callBack = null): CondorcetPHP\Condorcet\Election
* protected addCandidates (array $candidates): void
* protected boolParser (string $parse): bool
* protected parseCandidatesFromVotes (): void
* protected readParameters (): void
```
#### CondorcetPHP\Condorcet\Tools\Converters\DavidHillFormat implements CondorcetPHP\Condorcet\Tools\Converters\ConverterInterface
```php
* protected array $lines
* readonly public array $candidates
* readonly public int $NumberOfSeats
* public __construct (string $filePath)
* public setDataToAnElection (?CondorcetPHP\Condorcet\Election $election = null): CondorcetPHP\Condorcet\Election
* protected readCandidatesNames (): void
* protected readNumberOfSeats (): void
* protected readVotes (): void
```
#### CondorcetPHP\Condorcet\Tools\Converters\DebianFormat implements CondorcetPHP\Condorcet\Tools\Converters\ConverterInterface
```php
* protected array $lines
* readonly public array $candidates
* readonly public array $votes
* public __construct (string $filePath)
* public setDataToAnElection (?CondorcetPHP\Condorcet\Election $election = null): CondorcetPHP\Condorcet\Election
* protected readCandidatesNames (): void
* protected readVotes (): void
```
#### Abstract CondorcetPHP\Condorcet\Utils\CondorcetUtil
```php
* public static format (mixed $input, bool $convertObject = true): mixed
* public static isValidJsonForCondorcet (string $string): void
* public static prepareJson (string $input): mixed
* public static prepareParse (string $input, bool $isFile): array
```
#### CondorcetPHP\Condorcet\Utils\VoteEntryParser
```php
* readonly public string $originalEntry
* readonly public ?string $comment
* readonly public int $multiple
* readonly public ?array $ranking
* readonly public ?array $tags
* readonly public int $weight
* public static convertRankingFromString (string $formula): ?array
* public static convertTagsFromVoteString (string $voteString, bool $cut = false): ?array
* public static getComment (string $voteString, bool $cut = false): ?string
* public static parseIntValueFromVoteStringOffset (string $character, string $entry, bool $cut = false): int
* public __construct (string $entry)
```
#### Abstract CondorcetPHP\Condorcet\Utils\VoteUtil
```php
* public static getRankingAsString (array $ranking): string
* public static tagsConvert (array|string|null $tags): ?array
```
#### CondorcetPHP\Condorcet\Vote implements Iterator, Stringable, Traversable
```php
* private int $position
* private array $ranking
* private float $lastTimestamp
* private int $counter
* private array $ranking_history
* private int $weight
* private array $tags
* private string $hashCode
* private ?CondorcetPHP\Condorcet\Election $electionContext
* public bool $notUpdate
* protected static ?stdClass $cacheKey
* protected ?WeakMap $cacheMap
* private ?WeakMap $link
* protected string $objectVersion
* public static clearCache (): void
* public static initCache (): stdClass
* public __clone (): void
* public __construct (array|string $ranking, array|string|null $tags = null, ?float $ownTimestamp = null, ?CondorcetPHP\Condorcet\Election $electionContext = null)
* public __serialize (): array
* public __toString (): string
* public __wakeup (): void
* public addTags (array|string $tags): bool
* public countLinks (): int
* public countRankingCandidates (): int
* public current (): array
* public destroyLink (CondorcetPHP\Condorcet\Election $election): bool
* public getAllCandidates (): array
* public getContextualRanking (CondorcetPHP\Condorcet\Election $election): array
* public getContextualRankingAsString (CondorcetPHP\Condorcet\Election $election): array
* public getContextualRankingWithoutSort (CondorcetPHP\Condorcet\Election $election): array
* public getCreateTimestamp (): float
* public getHashCode (): string
* public getHistory (): array
* public getLinks (): WeakMap
* public getObjectVersion (bool $major = false): string
* public getRanking (bool $sortCandidatesInRank = true): array
* public getSimpleRanking (?CondorcetPHP\Condorcet\Election $context = null, bool $displayWeight = true): string
* public getTags (): array
* public getTagsAsString (): string
* public getTimestamp (): float
* public getWeight (?CondorcetPHP\Condorcet\Election $context = null): int
* public haveLink (CondorcetPHP\Condorcet\Election $election): bool
* public key (): int
* public next (): void
* public registerLink (CondorcetPHP\Condorcet\Election $election): void
* public removeAllTags (): bool
* public removeCandidate (CondorcetPHP\Condorcet\Candidate|string $candidate): bool
* public removeTags (array|string $tags): array
* public rewind (): void
* public setRanking (array|string $ranking, ?float $ownTimestamp = null): bool
* public setWeight (int $newWeight): int
* public valid (): bool
* protected computeContextualRanking (CondorcetPHP\Condorcet\Election $election, bool $sortLastRankByName): array
* protected computeContextualRankingWithoutImplicit (array $ranking, CondorcetPHP\Condorcet\Election $election, int $countContextualCandidate = 0): array
* protected destroyAllLink (): void
* protected initWeakMap (): void
* private archiveRanking (): void
* private computeHashCode (): string
* private formatRanking (array|string $ranking): int
```