summaryrefslogtreecommitdiff
path: root/lib/scheduling/README.md
blob: 8b21164b3e630a8fa1579c94474963398f427a32 (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(tournament_stage)`

   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.