summaryrefslogtreecommitdiff
path: root/lib/scheduling/README.md
blob: fe6aba111f8ac3e5a67b1ab9702044c7887dc3e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Scheduling interface
====================

Files in this directory should be _classes_ implementing the following
interface:

 - `initialize(TournamentStage)`

   Construct new Scheduling object from tournament_stage.

 - `create_matches`

   Creates all the matches of the current round.

 - `finish_match(Match)`

   Progresses the match through the schedule.

 - `graph`

   Returns a string representation of an svg image of the current
   stage.