Name for a type of chart, and GUI implementation of it in Java?

D

Daniel Pitts

Say I have a tournament with n players, and each player faces each other
player exactly once. I want to efficiently display the final player
scores. I recall seeing a table which had the players listed on the
diagonal, and each "cell" contained the pairing score "x"/"y". Eg.


+---+---+---+
|3/ |14/|4 /|
Sam |/ 2|/ 3|/22|
+---+---+---+
b |3 /|5 /|
o |/ 4|/55|
B +---+---+
n |7 /|
a |/ 4|
D +---+
u
o
L

You could then see the pairing score by finding the intersecting
column/row of the pair you're looking for. For example, Sam/Bob pairing
is row 1 (Sam), and column 1 (Bob). Bob had 2, Sam at 3.
The Bob/Lou pairing is Row 1 (Bob) column 3 (Lou). Bob had 5, and Lou
had 55. Actually, poor Bob did terrible in my example.

Is there a name for this kind of chart/table? Has anyone seen an
implementation in Java? I could do something like this in JTable, but I
think there must be a prettier way to render it :)

Thanks in advance,
Daniel.
 
J

Jeff Higgins

Say I have a tournament with n players, and each player faces each other
player exactly once. I want to efficiently display the final player
scores. I recall seeing a table which had the players listed on the
diagonal, and each "cell" contained the pairing score "x"/"y". Eg.


+---+---+---+
|3/ |14/|4 /|
Sam |/ 2|/ 3|/22|
+---+---+---+
b |3 /|5 /|
o |/ 4|/55|
B +---+---+
n |7 /|
a |/ 4|
D +---+
u
o
L

You could then see the pairing score by finding the intersecting
column/row of the pair you're looking for. For example, Sam/Bob pairing
is row 1 (Sam), and column 1 (Bob). Bob had 2, Sam at 3.
The Bob/Lou pairing is Row 1 (Bob) column 3 (Lou). Bob had 5, and Lou
had 55. Actually, poor Bob did terrible in my example.

Is there a name for this kind of chart/table? Has anyone seen an
implementation in Java? I could do something like this in JTable, but I
think there must be a prettier way to render it :)
Sorry, I cannot find a name. There are plenty of scheduler
implementations, but none with charts that I could find.
There are pictures here:
<http://en.wikipedia.org/wiki/Round-robin_tournament>, and here:
<http://tinyurl.com/7flz6w7>, and an active discussion board here:
<http://www.devenezia.com/round-robin/forum/YaBB.pl>.
 
D

Daniel Pitts

Sorry, I cannot find a name. There are plenty of scheduler
implementations, but none with charts that I could find.
It might not be something used in Tournaments commonly, but it is a
chart/table I've seen *somewhere*. Unfortunately I can't recall where.
Scheduling isn't the issue, results are.

Thanks for the google URL, but that is actually something I *did* search
for. Along with Diagonal Chart, Diagonal Table, Round Robin Diagonal
Chart, Round Robin Diagonal Table, Tournament Diagonal Chart, etc... If
a google search was useful, my google-fu needs work. Hence why I posted
here.
 
A

Arved Sandstrom

It might not be something used in Tournaments commonly, but it is a
chart/table I've seen *somewhere*. Unfortunately I can't recall where.
Scheduling isn't the issue, results are.


Thanks for the google URL, but that is actually something I *did* search
for. Along with Diagonal Chart, Diagonal Table, Round Robin Diagonal
Chart, Round Robin Diagonal Table, Tournament Diagonal Chart, etc... If
a google search was useful, my google-fu needs work. Hence why I posted
here.

My google-fu vanished this morning too. It wasn't time wasted; I spent
an enjoyable half hour refreshing my memory of non-Euclidean distance
matrices [1], tournament graphs [2], and zero-sum game payoff matrices
[3]. :)

I'm thinking that for pure visualization purposes if you could just find
a library that does nice mileage distance triangular charts, that if you
can control the value text that that might fit the bill.

AHS

1. With the thought that if player A plays player B, that the distance
from A->B is A's score, and B->A is B's score. A bit of a stretch;

2. Which is exactly what you've got as the underlying model, with the
cores being the edge data. Problem is how to depict that graph like you do;

3. With the thought that one could conceive of 2 abstract players, each
of whom have N actions available; which real player to play.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top