View Source ExTournaments.Pairings.Swiss (ExTournaments v0.5.1)

Module for creation of a Swiss format round

Link to this section Summary

Link to this section Functions

Link to this function

generate_round(players, round, opts \\ [ordered: false, rated: false, colors: false, bye_factor: 1.5, byes_by_seed: false, up_down_factor: 1.2, group_diff_factor: 3])

View Source
@spec generate_round([integer()], integer(), keyword()) :: list()

Takes list with players IDs, index of the first round, and lists of additional options for calculations.

Returns list of %ExTournaments.Match{} structs for the SINGLE ROUND of Swiss tournament.