Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2003:
[Freeciv-Dev] Re: (PR#3928) Convert client to use PF
Home

[Freeciv-Dev] Re: (PR#3928) Convert client to use PF

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] Re: (PR#3928) Convert client to use PF
From: "Raimar Falke" <rf13@xxxxxxxxxxxxxxxxx>
Date: Fri, 11 Apr 2003 00:40:41 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Thu, Apr 10, 2003 at 04:36:15AM -0700, Gregory Berkolaiko wrote:
> 
> On Thu, 10 Apr 2003, Raimar Falke wrote:
> 
> > On Wed, Apr 09, 2003 at 11:50:02AM -0700, Gregory Berkolaiko wrote:
> > > However the big problem still remains: paths to dangerous tiles are not 
> > > defined.  The algorithm considers and processes many different paths to 
> > > dangerous tiles: those that are longer but safer (you get to dangerous 
> > > tile with more movepoints) and those that are shorter but less safe.  
> > > Which is the best?  And storing them all so you can return any one at any 
> > > time is probably next to impossible.
> > 
> > From a user's perspective I would want that the last part of the goto
> > line (from the last safe position to the mouse) would be drawn in
> > another color.
> > 
> > The core PF should report all or provide a mechanism to let the user
> > of the pf choose which want is best. No sure how this is done.
> 
> It is reasonably easy to return the safest path.

Yes it is? Can you outline how?

> It is hard but possible to return the shortest (and unsafest path).
> It is next to impossible to retain all intermediate paths.

So far we managed to not add any inherent logic/limitation/behavior to
PF. I don't want to start now with this. It should be possible to
choose for the user.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "- Amiga Y2K fixes (a bit late, wouldn't you say?)"
    -- Linus Torvalds about linux 2.4.0 at 4 Jan 2001




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