protected function prepareResult () : bool
    {
        if ($this->_State > 2) :
            return false;
        elseif ($this->_State === 2) :
            $this->cleanupResult();

            // Do Pairewise
            $this->makePairwise();

            // Change state to result
            $this->_State = 3;

            // Return
            return true;
        else :
            throw new CondorcetException(6);
        endif;
    }
protected function prepareResult () : bool
    {
        if ($this->_State > 2) :
            return false;
        elseif ($this->_State === 2) :
            $this->cleanupResult();

            // Do Pairewise
            $this->makePairwise();

            // Change state to result
            $this->_State = 3;

            // Return
            return true;
        else :
            throw new CondorcetException(6);
        endif;
    }
protected function prepareResult ( ) : bool { if ( $ this -> _State > 2 ) : return false ; elseif ( $ this -> _State === 2 ) : $ this -> cleanupResult ( ) ; // Do Pairewise $ this -> makePairwise ( ) ; // Change state to result $ this -> _State = 3 ; // Return return true ; else : throw new CondorcetException ( 6 ) ; endif ; }
Prepare to compute results & caching system
Prepare to compute results & caching system