The tournament tag refers to any tournament style program. Only use when the question directly relates to programming tournament style programs.
Questions tagged [tournament]
112 questions
0
votes
1 answer
3v3 round robin schedule generator
I have been asked to create round robin schedules for a 3v3 volleyball tournament where the following criteria must be met: (from most important to least important)
Each player plays with another no more than once
Each player gets to play at…

Caleb
- 56
- 7
0
votes
0 answers
Swiss Tournament. Team confrontation multiple rounds without repeat and ordered
I try to make a tournament based on Swiss method.
I have for example 12 teams, and in each round, every team has points (0 to 100) and wins, loses or draws.
I want to find which teams play against each other, with these conditions:
Ordered by wins,…

Anna Marc
- 1
- 2
0
votes
0 answers
How to implement the tournament method for finding the 2nd largest element in an array?
I need the implementation approach of Tournament method for finding the 2nd largest element in an array. I have already searched the Internet but gained nothing. I don't know how to store those elements which lost to the largest element.

DayDreamer
- 1
- 1
0
votes
3 answers
Optimization - distribute participants far from each other
This is my first question. I tried to find an answer for 2 days but I couldn't find what I was looking for.
Question: How can I minimize the amount of matches between students from the same school
I have a very practical case, I need to arrange a…

Chilli Lucas
- 3
- 1
0
votes
1 answer
Tournament-Systems creating driver
Now that the error has been fixed by adding require 'tournament_system' here is my new error:
This is the terminal:
Rendering html template
Rendered html template (0.0ms)
Rendered tourneys/index.html.erb within layouts/application…

Brandon Morales
- 15
- 1
- 6
0
votes
1 answer
Getting undefined local variable or method `tournament' when using round_robin_tournament gem
I am trying to use the gem round_robin_tournament as described:
Github
However I am getting the error:
undefined local variable or method `tournament' for #<#
:0x00007ffb591d54a0>
I followed the description on in the readme section of that…

Brandon Morales
- 15
- 1
- 6
0
votes
1 answer
Single and double elimination algorithm. Tournament bracket placement algorithm
I need to develope site with feature create tournament bracket (single and double elimination like this http://challonge.com/tournament/bracket_generator).
I try to solve this problem, but cant figure out how correctly do it. I'm confused. I'm sure…

cyberha4
- 21
- 1
- 1
0
votes
1 answer
combine one element with all other elements of a different column
I do have two pairs of players in each group (a1 - a8) and I want to combine the elements of one matchup with the second matchup to get every combination for each person with the other matchup.
#groups a1-a8 with two matchups
$a1
[,1] [,2]…

Paul Hoffmann
- 7
- 1
- 3
0
votes
2 answers
Tournament Selection - Genetic Algorithms
I am going through a past exam paper for one of my exams coming up. Here's the following question:
Assume that you have a population of 6. The fitness of the first solution, f(S1)=2; the second solution f(S2)=4; f(S3)=8; f(S4)=16; f(S5)=19;…

7389573987
- 15
- 3
0
votes
0 answers
Min and Max - Tournament Method Java
Can someone please tell me what I am doing wrong? I have coded this min and max finder but I keep getting this error: "StackOverflowError" at my "mml = getMinMax(a, low, high)". Any help would be greatly appreciated. Thank you!
public class MinMax…

MostPalone
- 77
- 7
0
votes
1 answer
Data structures and interfaces, for an extendable "Tournament Bracketing" system
Background
I am in the early stages of writing a "tournament bracketing" application (C#, although any object-oriented language would be appropriate). This application would theoretically generate bracket sheets for multiple types of…

BTownTKD
- 7,911
- 2
- 31
- 47
0
votes
1 answer
Tournament Structure Sorting C++
Here I have this code that sorts a tournament structure like array in descending order. It sorts all but one number and always returns a -1 as the lowest integer it sorts, I have read through this code multiple times and I can't seem to figure out…

user3358064
- 7
- 2
- 7
0
votes
1 answer
Listview, Webview or ? to create a tournament draw
I am wondering what the best way to render a tournament draw (scrollable) might be for Android.
Since I am new to this, I was not sure whether to invest time creating a ListView sort of thing or dynamically building HTML pages and rendering them…

Dan
- 1
0
votes
1 answer
Tournament scheduling issues
Currently I'm working on a 1 day tournament scheduling application. Since, each year the number of participating teams is different, I want to automate the scheduling.
Teams are split in 2 groups. each group plays a single round robin tournament.
I…

jbontinck
- 432
- 2
- 5
0
votes
0 answers
Combinatorics: Pairing seeded entries for a tournament round
I am working on a software that implements the Burstein Swiss Pairing System (https://www.fide.com/fide/handbook.html?id=85&view=article).
In each round of play, this system forms score groups containing players with the same match score (score for…

Christian Guetter
- 81
- 3
- 8