public function getConfig() : array { return array('CondorcetObject_Version' => $this->getObjectVersion(), 'class_default_Method' => Condorcet::getDefaultMethod(), 'class_authMethods' => Condorcet::getAuthMethods(), 'class_MaxParseIterations' => self::$_maxParseIteration, 'state' => $this->_State); }
var_dump($election->getTimerManager()->getHistory()); ?> <br><br><hr> <h2>Computing statistics :</h2> <h3>Pairwise :</h3> <pre> <?php Condorcet::format($election->getPairwise()); ?> </pre> <?php foreach (Condorcet::getAuthMethods() as $method) { ?> <h3>Stats for <?php echo $method; ?> :</h3> <pre> <?php Condorcet::format($election->getResult($method)->getStats()); ?> </pre> <?php } ?>