Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #5119

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

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
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 Sun, 25 Mar 2012 08:25:04 -0400
Organization A noiseless patient Spider
Lines 38
Message-ID <jkn2nt$vrj$1@dont-email.me> (permalink)
References <xPwbr.11513$532.9758@newsfe14.iad>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Sun, 25 Mar 2012 12:23:26 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="BSKXKq4dV+7jFlM4JDctyw"; logging-data="32627"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19lNSCGyqkgJFhPgDI8n3OMQKqqxe26fcY="
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20120320 Icedove/3.0.11
In-Reply-To <xPwbr.11513$532.9758@newsfe14.iad>
Cancel-Lock sha1:4cr/0gZersoxScILRaMJOMfLerM=
Xref csiph.com comp.lang.java.programmer:13162 comp.lang.java.gui:5119

Cross-posted to 2 groups.

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar


Thread

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