[freeciv-ai] Re: [RFC] Ferry code
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sun, Apr 06, 2003 at 11:39:01AM +0000, Per I. Mathisen wrote:
> On Sun, 6 Apr 2003, Raimar Falke wrote:
> > > > > If for U you consider every boat B(i) (i: [0,n)), then you can pick
> > > > > the
> > > > > optimal boat to get you where you want to go.This is an O(n)
> > > > > operation, but probably no worse than having to look at every city on
> > > > > your continent.
> > > >
> > > > Come to think of it, not much worse...
> > >
> > > If we cache the pf map for all ferries, we can just overlay this pf map
> >
> > You would have to invalide (and update at next use) this map after
> > each move.
>
> Why?
Because a pf map is connected to a start position and the start
position is the current ferry location. But it is possible that I
misunderstood what you want to do here.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"The BeOS takes the best features from the major operating systems.
It's got the power and flexibility of Unix, the interface and ease
of use of the MacOS, and Minesweeper from Windows."
- [freeciv-ai] Re: [RFC] Ferry code, (continued)
[freeciv-ai] Re: [RFC] Ferry code, Jason Dorje Short, 2003/04/05
- [freeciv-ai] Re: [RFC] Ferry code, Gregory Berkolaiko, 2003/04/05
- [freeciv-ai] Re: [RFC] Ferry code, Per I. Mathisen, 2003/04/06
- [freeciv-ai] Re: [RFC] Ferry code, Raimar Falke, 2003/04/06
- [freeciv-ai] Re: [RFC] Ferry code, Per I. Mathisen, 2003/04/06
- [freeciv-ai] Re: [RFC] Ferry code,
Raimar Falke <=
- [freeciv-ai] Re: [RFC] Ferry code, Per I. Mathisen, 2003/04/06
- [freeciv-ai] Re: [RFC] Ferry code, Raimar Falke, 2003/04/06
[freeciv-ai] Re: [RFC] Ferry code, astuckey, 2003/04/08
[freeciv-ai] Re: [RFC] Ferry code, Raimar Falke, 2003/04/06
[freeciv-ai] Re: [RFC] Ferry code, Ross Wetmore, 2003/04/06
[freeciv-ai] [RFC] Ferry code proposal v.2, Gregory Berkolaiko, 2003/04/06
|
|