Path: news.mathworks.com!not-for-mail
From: "Doug Hull" <hull@mathworks.SPAMPROOFcom>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Fall 2009 MATLAB Contest, November 4th-11th
Date: Wed, 4 Nov 2009 18:53:02 +0000 (UTC)
Organization: The MathWorks Inc
Lines: 21
Message-ID: <hcsiie$guh$1@fred.mathworks.com>
References: <hcmvti$4je$1@fred.mathworks.com> <hcsdku$7vg$1@fred.mathworks.com> <hcshmq$n7a$1@fred.mathworks.com>
Reply-To: "Doug Hull" <hull@mathworks.SPAMPROOFcom>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1257360782 17361 172.30.248.35 (4 Nov 2009 18:53:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 4 Nov 2009 18:53:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 869436
Xref: news.mathworks.com comp.soft-sys.matlab:582483


"Sergey" <ivssnn@yahoo.com> wrote in message <hcshmq$n7a$1@fred.mathworks.com>...
> It looks like solver function is called not as
> 
> colors = solver(A,[targetRow targetColumn])
> 
> but as 
> 
> colors = solver(A,targetIndex)
> 
> is it correct?
> 
> SY

Everyone,

Sorry about that.  I wrote the contest code in absolute indexing, and then changed it to match the rules.  I pushed the absolute indexing version accidentally.  My bad.

We just modified the rules to match the contest suite as it is on the File Exchange.  Looks like some of the early entries figured it out and are doing well.  Use ind2sub to convert to row column if you happen to need it.

sorry,
Doug