Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #5119
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer, comp.lang.java.gui |
| Subject | Re: Name for a type of chart, and GUI implementation of it in Java? |
| Date | 2012-03-25 08:25 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <jkn2nt$vrj$1@dont-email.me> (permalink) |
| References | <xPwbr.11513$532.9758@newsfe14.iad> |
Cross-posted to 2 groups.
On 03/25/2012 12:04 AM, Daniel Pitts wrote: > 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>.
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Next in thread | Find similar
Name for a type of chart, and GUI implementation of it in Java? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-03-24 21:04 -0700
Re: Name for a type of chart, and GUI implementation of it in Java? Jeff Higgins <jeff@invalid.invalid> - 2012-03-25 08:25 -0400
Re: Name for a type of chart, and GUI implementation of it in Java? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-03-25 08:35 -0700
Re: Name for a type of chart, and GUI implementation of it in Java? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-03-25 13:28 -0300
csiph-web