Home » questions » Please solve my problem.?

Please solve my problem.?

2006-07-31 04:10:09, Category: Programming & Design
I have some no of team lets say 7 (from Team A - G). I want to arrange the teams in a manner that each team get atleast 8 games and distribution should be proportionate i.e. If a game is between A and B repeated then it should give next weightage to C and D then E and F and so on. Every team should get at least 8 games and to complete the matrix 1 or 2 team can have more than 8 games but main concern is equality. Can anyone help me.

Answers

  1. swissnick

    On 2006-07-31 04:33:30


    As far as I see, it's not possible to get an absolutely equal number of games as long as there is an odd number of teams. The matrix "everyone meets everyone once" has the formula number of games = x/2 * (x-1) That's your base. Extensions are possible or sensible in the way: 1. neighbouring A-B, C-D, E-F 2. neighbouring next B-C, D-E, F-G 2. jumping A-C, B-D, C-E 3. into the middle A-G, B-F, C-E Hope this helps a bit...