allowsVoteWeight(true); $election->parseCandidates('A;B;C;D;E;F'); $election->parseVotes(' Ultimate Question of Life || A>B>C ^42 * 42 C=A>B ^2 * 250 B>C E > B > C > A ^80 *257 F > B > G > H > A* 250 D = B = E > F ^6 * 100 B>F=A>C * 100 '); $winner = $election->getCondorcetWinner(); $loser = $election->getCondorcetLoser(); $result = []; foreach (Condorcet::getAuthMethods() as $method) { $result[] = $election->getResult($method); } } }