kwiksortrandom

class corankco.algorithms.kwiksort.kwiksortrandom.KwikSortRandom

Implementation of KwikSort algorithm (see KwikSortAbs abstract class) with choice of pivot is random, uniform

get_full_name() str

Return the full name of the algorithm.

Returns:

The string ‘KwikSortRandom’.

Return type:

str

is_scoring_scheme_relevant_when_incomplete_rankings(scoring_scheme: ScoringScheme) bool

Check if the scoring scheme is relevant when the rankings are incomplete.

Parameters:

scoring_scheme (ScoringScheme) – The scoring scheme to be checked.

Returns:

True as KwikSort can handle any ScoringScheme

Return type:

bool