Example #1
0
 public Match(Team a, Team b, int c, Match d, Match e)
 {
     home = a;
     visitor = b;
     winner = null;
     ranking = c;
     left = d;
     right = e;
 }
Example #2
0
 // Important for when we don't know what the match-ups will be yet, but we need to construct a tree
 public Match(Match a, Match b)
 {
     home = null;
     visitor = null;
     winner = null;
     ranking = 0;
     left = a;
     right = b;
 }
Example #3
0
 public Match(Team a, Team b, int c)
 {
     home = a;
     visitor = b;
     winner = null;
     ranking = c;
     left = null;
     right = null;
 }
Example #4
0
 public Match(int a)
 {
     home = null;
     visitor = null;
     winner = null;
     ranking = a;
     left = null;
     right = null;
 }
Example #5
0
 public Match()
 {
     home = null;
     visitor = null;
     winner = null;
     ranking = 0;
     left = null;
     right = null;
 }
Example #6
0
        private void AddMatch(Match root, Team a, Team b)
        {

        }
Example #7
0
 public Tournament()
 {
     superbowl = new Match();
     depth = 1;
 }