Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2003:
[Freeciv-Dev] Re: (PR#2370) Path finding
Home

[Freeciv-Dev] Re: (PR#2370) Path finding

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Ross Wetmore <rwetmore@xxxxxxxxxxxx>
Cc: Mike Kaufman <kaufman@xxxxxxxxxxxxxxxxxxxxxx>, Gregory Berkolaiko <Gregory.Berkolaiko@xxxxxxxxxxxx>, Freeciv Development List <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: (PR#2370) Path finding
From: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Date: Sun, 23 Feb 2003 17:01:48 +0100

On Sun, Feb 23, 2003 at 08:25:16AM -0500, Ross Wetmore wrote:
> I suspect that there is a bit more explaining to do about EC.
> 
> Some user scenario type explanations would probably help the
> unwashed understand the mysteries of EC and why any unsigned
> number is magically an EC or what this actually does to PF.
> 
> Frankly, it appears totally useless and should be removed, at
> least from any basic pf operation. It can be added back in a
> specialized callback that understands and has some use for it.
> But wasting scarce warmap cycles creating, manipulating and
> storing/copying EC values around that have no function in the
> general case is not particularly wise.

find_a_direction has to be emulated. EC is the solution. EC will also
help on other tasks to prefer a certain path. Examples are path with
the minimal number of steps or the path with the most tiles uncovered.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "This is Linux Country. On a quiet night, you can hear Windows reboot."



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