You are here

function advpoll_algorithms_ranking in Advanced Poll 6.2

Same name and namespace in other branches
  1. 5 modes/ranking.inc \advpoll_algorithms_ranking()
  2. 6.3 modes/ranking.inc \advpoll_algorithms_ranking()
  3. 6 modes/ranking.inc \advpoll_algorithms_ranking()

File

modes/ranking.inc, line 16
Handle ranking votes, e.g. choice A is preferred over choice B, which in turn is preferred over choice C.

Code

function advpoll_algorithms_ranking() {
  return array(
    'borda_count' => t('Borda count'),
    'instant_runoff' => t('Instant runoff'),
  );
}