[freeciv-ai] Re: Settler fixes [Was: A better AI Eval buildings 1.1]
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sat, May 11, 2002 at 02:33:11PM -0400, Ross W. Wetmore wrote:
> This sort of thing improves city placement.
>
> /* without this,
> * the computer will go 6-7 tiles from X to build a city at Y
> * and then build its NEXT city halfway between X and Y. -- Syela
> *
> * Actually it does this anyway - once it steps more than 6 tiles
> * the next best place is the strip in between the two cities.
> * The problem is that the search radius is always from the same
> * spot and valid city locations get more and more constrained.
> *
> * It would be better to do a global site search and static eval,
> * then compute the final best locations for each city/settler.
> */
In the settler management agent (customizable auto settler with city
founding ability) I scan the whole known continent for a good spot if
a settler is without work. You also can't cache the results from turn
to turn because there may be a much better spot just expolored by
another unit. So I know this needs a lot of CPU but you can ensure
that it is the best spot possible at this time. I will see how much of
this can be optimized but fast path finding/warmap/goto functions will
help a lot.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"On the eigth day, God started debugging"
- [freeciv-ai] Settler fixes [Was: A better AI Eval buildings 1.1], Ross W. Wetmore, 2002/05/11
- [freeciv-ai] Re: Settler fixes [Was: A better AI Eval buildings 1.1],
Raimar Falke <=
- [freeciv-ai] Re: Settler fixes [Was: A better AI Eval buildings 1.1], Per I. Mathisen, 2002/05/14
- [freeciv-ai] Re: Settler fixes [Was: A better AI Eval buildings 1.1], Raimar Falke, 2002/05/14
- [freeciv-ai] Re: Settler fixes [Was: A better AI Eval buildings 1.1], Per I. Mathisen, 2002/05/14
- [freeciv-ai] Re: Settler fixes [Was: A better AI Eval buildings 1.1], Raimar Falke, 2002/05/14
- [freeciv-ai] Re: Settler fixes [Was: A better AI Eval buildings 1.1], Per I. Mathisen, 2002/05/14
- [freeciv-ai] Re: Settler fixes [Was: A better AI Eval buildings 1.1], Raimar Falke, 2002/05/15
- [freeciv-ai] Re: Settler fixes [Was: A better AI Eval buildings 1.1], Per I. Mathisen, 2002/05/15
- [freeciv-ai] Re: Settler fixes [Was: A better AI Eval buildings 1.1], Raimar Falke, 2002/05/15
- [freeciv-ai] Re: Settler fixes [Was: A better AI Eval buildings 1.1], Gregory Berkolaiko, 2002/05/21
|
|