Basic functions for supporting an implementation of best-worst