Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

5 views
Skip to first unread message

Daniel Pitts

unread,
Mar 25, 2012, 12:04:44 AM3/25/12
to
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.

Jeff Higgins

unread,
Mar 25, 2012, 8:25:04 AM3/25/12
to
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>.

Daniel Pitts

unread,
Mar 25, 2012, 11:35:42 AM3/25/12
to
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.

> 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>.
>

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.

Arved Sandstrom

unread,
Mar 25, 2012, 12:28:33 PM3/25/12
to
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.
--
Last week I helped my friend stay put. It's a lot easier'n helpin' 'em
move. I just went over to his house and made sure that he did not start
to load shit into a truck.
-- Mitch Hedberg
0 new messages