Path: news.mathworks.com!not-for-mail
From: "Fabio " <fabio.carnevaleREMOVE@yahoo.it>
Newsgroups: comp.soft-sys.matlab
Subject: Re: MATLAB Central Spring Contest
Date: Tue, 13 May 2008 18:53:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 27
Message-ID: <g0co2f$5e1$1@fred.mathworks.com>
References: <fv82i0$nql$1@fred.mathworks.com> <fvsk1d$m84$1@fred.mathworks.com> <fvsmhv$se6$1@fred.mathworks.com> <fvsot0$gr9$1@fred.mathworks.com> <fvsqp9$8gg$1@fred.mathworks.com> <g066qs$drt$1@fred.mathworks.com> <g08tt2$c2b$1@fred.mathworks.com> <g09kgq$ldb$1@fred.mathworks.com>
Reply-To: "Fabio " <fabio.carnevaleREMOVE@yahoo.it>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1210704783 5569 172.30.248.37 (13 May 2008 18:53:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 13 May 2008 18:53:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1380731
Xref: news.mathworks.com comp.soft-sys.matlab:468224


Hi all,

I want to express an idea about the weight of time in the score.
The quantization of time in the score can suffer of
boundaries problem, as Steve Hoelzer wrote. A solution can
be the following:

1) If an entry obtains the *same* result of a previous entry
and its CPU time is better than the one of the previous
entry by less than 1s (or 0.XXXs), the score "collapses" to
the one of the first entry (+ epsilon). In example, assume that:

Score = Time + Result

the following results will hold:

Result 10, Time 10.5, Score: 20.5
Result 10, Time 10.4, Score 20.5 + eps
Result 10, Time 9.501, Score 20.5 + eps
Result 10, Time 9.49, Score 19.49
Result 9.9, Time 9.4, Score 19.3
Result 10, Time 8.491, Score 19.49 + eps
Result 10, Time 8.3, Score 18.3

Thus small and accidental cpu time improvements will be ignored.

Fabio