May 26, 2018

Select tournament pairings

AlgorithmPairBest2 is a re-write of AlgorithmPairBest. The interface is simplified and the implementation is significantly streamlined.

After creating an AlgorithmPairBest2 object with->new, add items to the list of items i.e players to be paired. The final list must contain an even number of items or picking the pairs will throw an exception.

AlgorithmPairBest2->pick explores all combinations of items and returns the pairing list with the best lowest score.

WWW http//