@@ -188,6 +188,9 @@ |
||
| 188 | 188 | endif; |
| 189 | 189 | } |
| 190 | 190 | |
| 191 | + /** |
|
| 192 | + * @return integer |
|
| 193 | + */ |
|
| 191 | 194 | public function getCandidateId (int $candidate_key, bool $onlyName = false) |
| 192 | 195 | { |
| 193 | 196 | if (!array_key_exists($candidate_key, $this->_Candidates)) : |
@@ -112,6 +112,9 @@ |
||
| 112 | 112 | endif; |
| 113 | 113 | } |
| 114 | 114 | |
| 115 | + /** |
|
| 116 | + * @return Pairwise |
|
| 117 | + */ |
|
| 115 | 118 | public function getPairwise (bool $explicit = true) |
| 116 | 119 | { |
| 117 | 120 | $this->prepareResult(); |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | use Condorcet\ElectionProcess\CandidatesProcess; |
| 17 | 17 | use Condorcet\ElectionProcess\ResultsProcess; |
| 18 | 18 | use Condorcet\ElectionProcess\VotesProcess; |
| 19 | - |
|
| 20 | 19 | use Condorcet\Timer\Manager as Timer_Manager; |
| 21 | 20 | |
| 22 | 21 | |