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/Election Class/public Election--computeResult.md
2022-09-21 14:01:45 +02:00

22 lines
729 B
Markdown

## public Election::computeResult
### Description
```php
public Election->computeResult ( [?string $method = null] ): void
```
Really similar to Election::getResult() but not return anything. Just calculates silently and fill the cache.
##### **method:** *```?string```*
Not requiered for use object default method. Set the string name of the algorithm for use an specific one.
---------------------------------------
### Related method(s)
* [Election::getWinner](../Election%20Class/public%20Election--getWinner.md)
* [Election::getResult](../Election%20Class/public%20Election--getResult.md)
* [Condorcet::getDefaultMethod](../Condorcet%20Class/public%20Condorcet--getDefaultMethod.md)