You are here

function advpoll_algorithms_ranking in Advanced Poll 6.3

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

File

modes/ranking.inc, line 15
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'),
  );
}