allowsVoteWeight(true); $election->setNumberOfSeats(2); $election->parseCandidates('A;B;C;D;E;F'); $election->parseVotes(' Ultimate Question of Life || A>B>C ^42 * 42 C=A>B ^2 * 200 B>C E > B > C > A ^80 *50 F > B > G > H > A* 250 D = B = E > F ^6 * 48 '); $election->getCondorcetWinner(); $election->getCondorcetLoser(); foreach (Condorcet::getAuthMethods() as $method) { $election->getResult($method); } $election->setImplicitRanking(false); foreach (Condorcet::getAuthMethods() as $method) { $election->getResult($method); } $election->allowsVoteWeight(false); foreach (Condorcet::getAuthMethods() as $method) { $election->getResult($method); } $election->parseVotes(' Ultimate Question of Life || C>B>A ^42 * 42 C=A=B ^2 * 200 B>C A > C >E ^80 *50 G > B > H > F* 250 C = B = E > A ^6 * 48 '); foreach (Condorcet::getAuthMethods() as $method) { $election->getResult($method); } $votes = $election->getVotesListAsString(); } }