class type grouping_spec =object
..end
method name : string
method header_spec : num_rounds:int -> num_groups:int -> pos:int -> t -> Columns.header_spec
Columns.header_spec
to specify how to display the header of a
group. Most of the parameters are only used by `By Round' to
calculate the round number displayed.
Given the total number of rounds in the tournabox upon
completion; the number of groups in the Group.GroupList
(i.e. the number of rounds played so far), the index of the
group in the Group.GroupList
(i.e. the round); and
the group in need of a header.
All of the grouping_specs except Grouping_specs.round
simply look at the
first contest in the group, and pull out a prominent field like
name or country.
method compare_contest : contest -> contest -> int
method compare_group : t -> t -> int
method in_group : contest -> t -> group_result
Group.group_result.quit
= true, then give up: stop trying
to find a group to put the contest in.method column_extractor : num_contests:int -> index:int -> contest -> Columns.column list