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--setImplicitRanking.md
2022-09-21 14:01:45 +02:00

28 lines
699 B
Markdown

## public Election::setImplicitRanking
### Description
```php
public Election->setImplicitRanking ( [bool $rule = true] ): bool
```
Set the setting and reset all result data.
If it is True then all votes expressing a partial ranking are understood as implicitly placing all the non-mentioned candidates exequos on a last rank.
If it is false, then the candidates not ranked, are not taken into account at all.
##### **rule:** *```bool```*
New rule.
### Return value:
*(```bool```)* Return True
---------------------------------------
### Related method(s)
* [Election::getImplicitRankingRule](../Election%20Class/public%20Election--getImplicitRankingRule.md)