[][src]Function wybr::methods::smith_schwartz::smith_set

pub fn smith_set(x: &VoteMatrix) -> Vec<u32>

Extracts the Smith set

Smith set is a maximal strongly connected component in a condensation of a graph of a relation candidate x strongly beats or ties with candidate y. In other words, a smallest set of candidates such that its every member beats all candidates outside the set. Also called GETCHA or top cycle.

Arguments

  • x election tally, VoteMatrix object