1
0

test adding condorcet vote

This commit is contained in:
2022-09-21 12:39:11 +02:00
parent 1e8adfa5d5
commit 0a30f39eb4
349 changed files with 36658 additions and 0 deletions

View File

@ -0,0 +1,13 @@
## public Tools\Converters\DebianFormat::__construct
### Description
```php
public Tools\Converters\DebianFormat->__construct ( string $filePath )
```
Read a Tideman format file
##### **filePath:** *```string```*
File absolute path.

View File

@ -0,0 +1,26 @@
## public Tools\Converters\DebianFormat::setDataToAnElection
### Description
```php
public Tools\Converters\DebianFormat->setDataToAnElection ( [?CondorcetPHP\Condorcet\Election $election = null] ): CondorcetPHP\Condorcet\Election
```
Add the Debian data to an election object
##### **election:** *```?CondorcetPHP\Condorcet\Election```*
Add an existing election, useful if you want to set up some parameters or add extra candidates. If null an election object will be created for you.
### Return value:
*(```CondorcetPHP\Condorcet\Election```)* The election object
---------------------------------------
### Related method(s)
* [Tools\CondorcetElectionFormat::setDataToAnElection](../Tools\CondorcetElectionFormat%20Class/public%20Tools\CondorcetElectionFormat--setDataToAnElection.md)
* [Tools\DavidHillFormat::setDataToAnElection](../Tools\DavidHillFormat%20Class/public%20Tools\DavidHillFormat--setDataToAnElection.md)