utils

corankco.utils.parse_ranking_with_ties(ranking: str, converter: Callable[[str], Element]) List[Set[Element]]

Function to parse rankings with ties. The rankings can be rankings of int or str Example: [{Bob}, {Martin, John}] or [{0}, {2, 1}]