Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2002:
[Freeciv-Dev] Re: [RFC] square_dxy_iterate
Home

[Freeciv-Dev] Re: [RFC] square_dxy_iterate

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Gregory Berkolaiko <gberkolaiko@xxxxxxxxxxx>
Cc: jdorje@xxxxxxxxxxxxxxxxxxxxx, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [RFC] square_dxy_iterate
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 23 Feb 2002 17:29:47 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Sat, Feb 23, 2002 at 04:10:14PM +0000, Gregory Berkolaiko wrote:
>  --- Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx> wrote: 
> > On Fri, Feb 22, 2002 at 06:04:45PM -0500, Jason Short wrote:
> > > 
> > > Another question to think about here is whether the algorithm of 
> > > invasion_funct can be improved.
> > 
> > Indead. See attached patch.
> > 
> >     Raimar
> 
> Tell us the truth, you didn't even try to compile it, did you?
> 
> But first of all, do you understand what this fuction tries to achieve?

No. Not at all at the time I wrote the first version.

Second version attached. Slower but correct and with comments.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "The two rules for success in life are:
  1) Never tell them everything you know."

Attachment: invasion_funct2.diff
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]