src/STV/ElectionRunner.php
protected function firstStep()
    {
        $this->logger->info('Beginning the first step');

        // Allocate all the ballots
        foreach ($this->ballots as $i => $ballot) {
            $this->allocateVotes($ballot);
        }

        $this->logger->notice('Step 1 complete',
            ['candidatesStatus' => $this->election->getCandidatesStatus()]
        );

        $this->steps[1] = $this->election->getCandidatesStatus();

        return;
    }
protected function firstStep()
    {
        $this->logger->info('Beginning the first step');

        // Allocate all the ballots
        foreach ($this->ballots as $i => $ballot) {
            $this->allocateVotes($ballot);
        }

        $this->logger->notice('Step 1 complete',
            ['candidatesStatus' => $this->election->getCandidatesStatus()]
        );

        $this->steps[1] = $this->election->getCandidatesStatus();

        return;
    }
protected function firstStep ( ) { $ this -> logger -> info ( 'Beginning the first step' ) ; // Allocate all the ballots foreach ( $ this -> ballots as $ i => $ ballot ) { $ this -> allocateVotes ( $ ballot ) ; } $ this -> logger -> notice ( 'Step 1 complete' , [ 'candidatesStatus' => $ this -> election -> getCandidatesStatus ( ) ] ) ; $ this -> steps [ 1 ] = $ this -> election -> getCandidatesStatus ( ) ; return ; }
Perform the initial vote allocation.
p. 46.

@return
Perform the initial vote allocation . p . 46 .