[Freeciv-Dev] Re: AI - cleaning
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
--- "Ross W. Wetmore" <rwetmore@xxxxxxxxxxxx> wrote:
> At 06:29 PM 01/10/09 +0100, Gregory Berkolaiko wrote:
> >FYI I suspect assess_defence_quadratic and assess_defence_backend are
> >doing the same thing. and there is absolutely no need to compute the
> >square root in assess_defence_quadratic, it's all getting squared
> anyway.
>
> Actually they give slightly different results. One is a sum of squares
> and the other a quadratic, i.e. with all the cross elements. You need
> the square root part for each element of the sum before squaring.
Of course! (a+b)^2 != a^2 + b^2 !!!
shame on me...
> >well, with some cooperation from Raimar I believe we can manage it.
> >It won't be too fast, but we are in no hurry I hope.
>
> There is a lot of latitude between "too much of a hurry" and
> "stagnation". Hopefully a reasonable balance might one day come
> about.
indeed
> >BTW, do you have any idea what the comment
> >
> >/* If we have a passenger abord a ship we must be sure he can
> disembark
> >This shouldn't be neccesary, as ZOC does not have an effect for
> sea-land
> >movement, but some code in aiunit.c assumes the goto work like this,
> so
> >I will leave it for now */
> >
> >is be referring to? The cargo code in find_the_shortest path is
> >seriously broken but to fix it I need to know what is it expected to
> >do...
>
> The short answer is no.
Then maybe you know what happens if AI plans a naval invasion, finds a
beachhead and it happens to be occupied. Further, what happens if it
finds a free beachhead, but it becomes occupied while the invasion force
is sailing?
G.
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
- [Freeciv-Dev] Re: AI - cleaning (Was: Re: [UPDATE] Corecleanup_08 patch), (continued)
- [Freeciv-Dev] Re: AI - cleaning (Was: Re: [UPDATE] Corecleanup_08 patch), Gregory Berkolaiko, 2001/10/10
- [Freeciv-Dev] Re: AI - cleaning (Was: Re: [UPDATE] Corecleanup_08 patch), Raahul Kumar, 2001/10/10
- [Freeciv-Dev] Re: AI - cleaning (Was: Re: [UPDATE] Corecleanup_08 patch), Ross W. Wetmore, 2001/10/09
- [Freeciv-Dev] Re: AI - cleaning (Was: Re: [UPDATE] Corecleanup_08 patch), Raimar Falke, 2001/10/10
- [Freeciv-Dev] Re: AI - cleaning (Was: Re: [UPDATE] Corecleanup_08 patch), Gregory Berkolaiko, 2001/10/09
- [Freeciv-Dev] Re: AI - cleaning (Was: Re: [UPDATE] Corecleanup_08 patch), Ross W. Wetmore, 2001/10/09
- [Freeciv-Dev] Re: AI - cleaning,
Gregory Berkolaiko <=
- [Freeciv-Dev] Re: AI - cleaning, Ross W. Wetmore, 2001/10/12
[Freeciv-Dev] Re: [UPDATE] Corecleanup_08 patch to cvs-Sep28, Gaute B Strokkenes, 2001/10/14
|
|