<?php
  $BASE = '../..';
  $TITLE = 'tournament';
  $FULLTITLE = 'Software / ' . $TITLE;

  require ($BASE.'/include/header.php');
?>

            <h1>
              tournament - creation of playing schedules for tournaments
            </h1>

            <h2>
              Introduction
            </h2>

            <p>
            This program creates playing schedules for tournaments with varying mixed teams and fixtures
            determined at random. Contrary to most other types of tournament, in this particular type of
            tournament considered here the teams are not fixed, but change from match to match (sometimes
            called "round-robin", "Bändchen-" or "Schleifchenturnier").
            </p>

            <h2>
              Example
            </h2>

            <p>
            Below is an example for a tournament with 10 rounds on 3 courts (i.e., 3 matches per round),
            10 male and 10 female players, depicted by the letters A-J and the numbers 1-10, respectively.
            </p>
            <div class="code" style="padding-left: 2em"><pre>
            court 1     court 2     court 3     

round 1    E3  : I9    D6  : C5    G1  : H4    
round 2    J2  : D3    H9  : I8    F10 : B7    
round 3    F4  : C2    G5  : A10   J1  : E6    
round 4    B4  : H6    I7  : A1    G3  : D8    
round 5    J4  : I10   C3  : E7    A5  : B9    
round 6    E5  : H2    G10 : C6    F8  : D1    
round 7    A9  : F1    G8  : J7    D2  : B6    
round 8    J9  : H7    C10 : A3    B5  : I4    
round 9    C7  : I2    H5  : F3    A6  : E8    
round 10   G4  : F9    D10 : E1    J8  : B2
</pre></div>
            <p>
            All participants have the same number of matches. There is no repetition of teams or opponents.
            Players A, 4, and 7 have three subsequent matches; all other players have at most two subsequent
            matches. Everyone has at most two subsequent breaks.
            </p>

            <h2>
              Details
            </h2>

            <p>
            Given are the number of male players, the number of female players, the number of available courts
            (i.e., the number of matches that can take place at the same time), and the desired number of
            rounds.
            </p>
            
            <p>
            The algorithm creates a playing schedule considering the following objectives, in decreasing order
            of importance:
            </p>
            <ul>
              <li>avoid that a particular player takes part in multiple matches of the same round
                  (otherwise such matches can not take place at the same time)</li>
              <li>avoid repetition of teams</li>
              <li>avoid repetition of match opponents</li>
              <li>minimize the maximum number of subsequent matches (without a break in between, per player)</li>
              <li>minimize the maximum number of subsequent breaks (per player)</li>
            </ul>
            <p>
            The importance of these objectives can be controlled via configurable weights. Note that,
            depending on the problem instance, it is not always possible to satisfy all
            requirements/objectives at the same time.
            </p>

            <h2>
              Download
            </h2>

            <ul>
              <li><a class="download" href="tournament-0.2.1.tar.bz2">tournament-0.2.1.tar.bz2</a> (43 kB, source only)</li>
              <li><a class="download" href="tournament-0.2.1.zip">tournament-0.2.1.zip</a> (92 kB, including binaries for Linux)</li>
              <li><a class="download" href="tournament-0.2.tar.bz2">tournament-0.2.tar.bz2</a> (41 kB, source only)</li>
              <li><a class="download" href="tournament-0.2.zip">tournament-0.2.zip</a> (130 kB, including binaries for Linux)</li>
              <li><a class="download" href="tournament-0.1.3.tar.bz2">tournament-0.1.3.tar.bz2</a> (38 kB, source only)</li>
              <li><a class="download" href="tournament-0.1.3.zip">tournament-0.1.3.zip</a> (143 kB, including binaries)</li>
              <li><a class="download" href="tournament-0.1.2.tar.bz2">tournament-0.1.2.tar.bz2</a> (36 kB, source only)</li>
              <li><a class="download" href="tournament-0.1.2.zip">tournament-0.1.2.zip</a> (138 kB, including binaries)</li>
              <li><a class="download" href="tournament-0.1.1.tar.bz2">tournament-0.1.1.tar.bz2</a> (34 kB, source only)</li>
              <li><a class="download" href="tournament-0.1.1.zip">tournament-0.1.1.zip</a> (126 kB, including binaries)</li>
              <li><a class="download" href="tournament-0.1.tar.bz2">tournament-0.1.tar.bz2</a> (28 kB, source only)</li>
              <li><a class="download" href="tournament-0.1.zip">tournament-0.1.zip</a> (118 kB, including binaries)</li>
            </ul>

<?php
  require ($BASE.'/include/footer.php');
?>
