Questions tagged [tournament]

The tournament tag refers to any tournament style program. Only use when the question directly relates to programming tournament style programs.

112 questions
1
vote
1 answer

Single Elimination Tournament Algorithm

I am new to this field, and i wanted to do a Java application implementing the technique of Single Elimination Tournament that will have me importing player names and their clubs and let the app ( through an algorithm ) create for me a single…
Louay Ali
  • 11
  • 4
1
vote
1 answer

Tournament graph question(s)

Is a tournament graph the same thing as a directed complete graph? And, do all vertices in a tournament graph have the same number of edges?
el diablo
  • 2,647
  • 2
  • 20
  • 22
1
vote
2 answers

Is there an "average" time zone per country?

I want to schedule an online multiplayer game tournament, one per unique country, with a convenient start time for as many registered players as possible. A global start time based on UTC is inconvenient for a number of countries. For instance,…
Brian H
  • 314
  • 3
  • 13
1
vote
1 answer

Tournament Scheduling Algorithm Starting Point

This is a question about performance and best placement of matchups within a schedule that contains dates/times/locations. Starting with a schedule grid (date/time/locations) in place and all matchups generated what is the best place to start with…
Mike Flynn
  • 22,342
  • 54
  • 182
  • 341
1
vote
1 answer

Golf Tournament Pairing Algorithm

Idea is simple. Function needs one argument which is the players amount. It generates the graph where each player is placed versus another one (screen included). If players are even, rounds equals to players-1 else, it equals players. I've noticed…
user2426176
1
vote
1 answer

Calculating possible tournament outcomes

I am trying to write a section of code in PHP which will work out for each team the best and worst possible outcome from a round robin type tournament. This code will be executed after each round of games and so will lookup the current W-L-T record…
1
vote
0 answers

travelling tournament assignment

I'm working on a schedule of a football tournament with integer programming. Using LINGO software as a tool to work on it. Minimize traveling distance is my objective. There are 12 teams and i already have the distance matrix between each team. In…
1
vote
2 answers

Ruby On Rails and Challonge API

I'm pretty new, but getting the concepts of Ruby on Rails. I'm trying to get a tournament up and running. I added the gem as a dependency in the Gem file; however, I'm unsure where to add my username and API key. This is the API -…
nil
  • 2,238
  • 1
  • 19
  • 28
1
vote
3 answers

Multiple Iterations of Tournament Selection in Genetic Algorithm

Hey guys, I'm a bit confused about how multiple iterations of the tournament selection works. I know you start selecting random pairs (or k members) and putting the winner into a mating pool. You continue do this till the mating pool is…
Junier
  • 1,622
  • 1
  • 15
  • 21
1
vote
1 answer

Best way to draw tournament bracket in Android

I need to draw a tournament bracket in Android. I already calculated the positions for all games (i.e. an (x,y) tuple that defines where to place teams in a spreadsheet-like structure). However, I don't know the preferred way of drawing the bracket.…
crnv
  • 316
  • 2
  • 14
0
votes
1 answer

Tournament bracket with user input (php?)

Basically I would like some help on how to implement my idea. Any direction would be appreciated. I'm not sure what languages I should be using, or if I need a MySQL database of some kind. I want to make a tournament bracket. I've read several posts…
davecave
  • 4,698
  • 6
  • 26
  • 32
0
votes
1 answer

Graph Theory - Rankings in a Tournament

Given a tournament graph like this : How do you find out how many rankings there are systematically? Help / explanation would really be appreciated.
CustardBun
  • 3,457
  • 8
  • 39
  • 65
0
votes
0 answers

Tournament bracket doesn't update correctly when inputting new scores

I am working on a tournament bracket with double elimination in Svelte. I keep having the issue of when two matchups have four teams when I update the score to select the winners, the matchup where the winners would face gets messed up. The team…
Maximus39
  • 21
  • 4
0
votes
0 answers

In or-tools using CP-SAT solver. I an tournament, how do I ensure that teams never meet twice using Boolean variables

I am organizing a tournament with over 200 teams divided into 40+ groups. Each group will play for four rounds. The teams are placed into groups of 6 based on their age and strength. The final goal is to minimize the overall driving distance for…
0
votes
0 answers

Creating a Fixture list logic with jquery

Im trying to create a Fixture list for a soccer tournament where the teams should be created on a exactly position, and I'm having some issues because all my functions end on some point breaking. the json that I use for the functions…
ozonostudio
  • 119
  • 2
  • 6
  • 13