Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] [Snapshot] Agents
Home

[Freeciv-Dev] [Snapshot] Agents

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] [Snapshot] Agents
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 17 Aug 2001 01:54:16 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

I finally managed to make a diff of my current tree against the
current CVS version. The tree contains three agents and a lot of
supporting code:

 - city management agent (CMA): this one manages the citizien of a
 city so that the citizen work on tiles which are most useful to a
 given goal. It also manages specialists.

 - goto agent (GA): it is like a normal goto but completely at the
 client side. It is currently only used to estimate the number of
 turns to go from one position to another and to actually send
 settlers from one place to another.

 - settler management agent (SMA): like the current auto-settler but
 it will also build new cities. However it is programmed more clearly
 than the current code in server/ and ai/. So I hope it is (more)
 understandable. The SMA needs some docu on how the agent works. Also
 external requests (other parts of the code can suggest actions (like
 build a road at (45,67) which would not necessary benefit a city)
 are still open.

The patch and some savegames from one of the last runs are in
ftp.freeciv.org/freeciv/incoming.

I hope to get most of the generic parts (everthing without
client/agents) into CVS part by part. So there little point in reading
through the whole patch now. Instead just apply it and play a bit with
it. 

What do people thing about this? I hope these agents are some of the
first components of the new client side AI. Planned as a next step is
an exploring agent (the current isn't optimal) and some code which
will suggest a city improvement based on some weights.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx


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