------_extPart_001_01C5F578.69AB853A
Content-Type: text/plain;
	charsets-ascii"
Content-Transfer-Encoding: quoted-printable

Been meaning to jump in on the quiz, but haven't had the time... I can't
believe it's Wednesday already. 

The attached just judges the solution on a number of criteria - I don't
like that bob's solution has some people playing others 4 times and
others only once... seems it should work more evenly than that, but busy
busy busy....

I did get as far as calling my class LogicalChart in response to bob's
(because I ripped off the framework in the hope of getting further).

> -----Original Message-----
> From: James Edward Gray II [mailto:james / grayproductions.net] 
> Sent: Wednesday, 30 November 2005 4:00 PM
> To: ruby-talk ML
> Subject: Re: [QUIZ][SOLUTION] Pinewood Derby Chart (#56)
> 
> On Nov 28, 2005, at 3:43 PM, Bob Showalter wrote:
> 
> > The core of my solution is at:
> >
> >   http://users.adelphia.net/~showaltb/rubyquiz/56/derby.rb
> >
> > It assigns cars by computing a "weight" factor for each car 
> based on 
> > the  following criteria:
> >
> >   a) How many times has the car been assigned to this lane?
> >   b) How many times has the car been matched up against the 
> opponents
> >      already slotted to this heat?
> >   c) How long has it been since the car was last scheduled 
> to a heat?
> >
> > The weight factors act as a bias against selecting a car.
> 
> I dig any Ruby program with a class called ChaoticChart!  
> Seriously, this is a very interesting solution to read.  Must 
> by why you scared all the others off.  You just can't compete 
> with true chaos.  ;)
> 
> James Edward Gray II
> 
> 
> 
> 

#####################################################################################
This email has been scanned by MailMarshal, an email content filter.
#####################################################################################

------_extPart_001_01C5F578.69AB853A
Content-Type: application/octet-stream;
	nameater.rb"
Content-Transfer-Encoding: base64
Content-Description: rater.rb
Content-Disposition: attachment;
	filenameater.rb"

Y2xhc3MgQ2FyDQogICAgYXR0cl9yZWFkZXIgOm9wcG9uZW50cywgOmxhbmVzLCA6cm91bmRzDQog
ICAgZGVmIGluaXRpYWxpemUoKQ0KICAgICAgICBAb3Bwb25lbnRzID0gSGFzaC5uZXcoMCkNCiAg
ICAgICAgQGxhbmVzID0gSGFzaC5uZXcoMCkNCiAgICAgICAgQHJvdW5kcyA9IFtdDQogICAgZW5k
D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