[Freeciv-Dev] [Patch] CMA2.0
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Attached is the all-new version 2.0 of the citizen management
agent. Changes since 1.0:
- more or less rewrite of the core algorithm
- more or less rewrite of the GTK gui. It now has sliders for freely
adjustable weights and surpluses.
- the user can now require a happy city and/or set a weight for a
happy city
- uses common/timing instead of gettimeofday
- used a more elegant way to get the change across the wire
- the file client/agents/citizen_management_frontend_gtk is now at
client/gui-gtk/citizen_management_agent_frontend_gtk
- Makefile.am changes
About speed: varies between 2.45ms for a city of size 1 and 320ms for
a city of size 21 for cold caches. With hot caches this goes down
<0.1ms for size 1 and 40ms for size 21. Caches however have to be
cleared if the server sends a city info packet. Because this city info
could mean that the calculation foundation has changed (global tax
rate change for example). Also the number goes down if "normal"
requirements (food>0 for example) are used. Such requirements limit
the search space a big way.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"Last year, out in California, at a PC users group, there was a demo of
smart speech recognition software. Before the demonstrator could begin
his demo, a voice called out from the audience: "Format c, return. Yes,
return." Damned short demo, it was.
cma2_0.diff.gz
Description: GNU Zip compressed data
- [Freeciv-Dev] [Patch] CMA2.0,
Raimar Falke <=
- [Freeciv-Dev] Re: [Patch] CMA2.0, Christian Knoke, 2001/10/04
- [Freeciv-Dev] Re: [Patch] CMA2.0, Raimar Falke, 2001/10/05
- [Freeciv-Dev] Re: [Patch] CMA2.0, Gregory Berkolaiko, 2001/10/06
- [Freeciv-Dev] Re: [Patch] CMA2.0, Raimar Falke, 2001/10/06
- Message not available
- [Freeciv-Dev] Re: [Patch] CMA2.0, Raimar Falke, 2001/10/06
- [Freeciv-Dev] Re: [Patch] CMA2.0, Christian Knoke, 2001/10/06
- [Freeciv-Dev] Re: [Patch] CMA2.0, Raimar Falke, 2001/10/07
- [Freeciv-Dev] Re: [Patch] CMA2.0, Gregory Berkolaiko, 2001/10/07
- [Freeciv-Dev] Re: [Patch] CMA2.0, Raimar Falke, 2001/10/07
|
|