[freeciv-ai] Re: README.AI
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Fri, Apr 26, 2002 at 11:36:03AM +0200, Per I. Mathisen wrote:
> * AI doesn't understand how to favor trade when it needs luxury.
The CMA may help here.
Mike: should be publish our thoughts about the AI and code movement?
> * City tile values are not cached; wastes CPU time.
While looking at performance I implemented such thing. Result: very
small speedup. You just need to flush the cache too often:
- everything which changes the happy state of the city (change of the
citizen assigments, new trade routes, ...)
- if government changes
- if tiles on the city map changes
- if city grows
So in short you have to invalidate the cache at least every turn and
maybe even multiple times a turn.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"SIGDANGER - The System is likely to crash soon"
- [freeciv-ai] Re: Approximate win_chance, (continued)
- [freeciv-ai] Re: Approximate win_chance, Gregory Berkolaiko, 2002/04/24
- [freeciv-ai] Re: Approximate win_chance, Raahul Kumar, 2002/04/24
- [freeciv-ai] Re: Approximate win_chance, Raimar Falke, 2002/04/24
- [freeciv-ai] Re: Approximate win_chance, Raahul Kumar, 2002/04/24
- [freeciv-ai] Re: Approximate win_chance, Ross W. Wetmore, 2002/04/24
- [freeciv-ai] Re: Approximate win_chance, Raimar Falke, 2002/04/25
- [freeciv-ai] Re: Approximate win_chance, Gregory Berkolaiko, 2002/04/25
- [freeciv-ai] Re: Approximate win_chance, Raahul Kumar, 2002/04/25
- [freeciv-ai] README.AI, Mike Kaufman, 2002/04/25
- [freeciv-ai] Re: README.AI, Per I. Mathisen, 2002/04/26
- [freeciv-ai] Re: README.AI,
Raimar Falke <=
- [freeciv-ai] Re: README.AI, Mike Kaufman, 2002/04/26
- [freeciv-ai] Re: README.AI, Per I. Mathisen, 2002/04/27
- [freeciv-ai] Re: README.AI, Gregory Berkolaiko, 2002/04/27
- [freeciv-ai] Re: README.AI, Gregory Berkolaiko, 2002/04/27
- [freeciv-ai] Re: README.AI, Per I. Mathisen, 2002/04/27
- [freeciv-ai] Re: README.AI, Gregory Berkolaiko, 2002/04/27
- [freeciv-ai] Re: README.AI, Gregory Berkolaiko, 2002/04/29
- [freeciv-ai] Re: README.AI, Raimar Falke, 2002/04/29
- [freeciv-ai] Re: README.AI, Gregory Berkolaiko, 2002/04/29
- [freeciv-ai] Re: README.AI, Raahul Kumar, 2002/04/29
|
|