Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2001:
[Freeciv-Dev] Re: [Patch] CMA 2.2
Home

[Freeciv-Dev] Re: [Patch] CMA 2.2

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Raahul Kumar <raahul_da_man@xxxxxxxxx>
Cc: Christian Knoke <ChrisK@xxxxxxxx>, freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [Patch] CMA 2.2
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 10 Oct 2001 14:20:37 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Wed, Oct 10, 2001 at 04:08:44AM -0700, Raahul Kumar wrote:
> > Ok and here a real proposal:
> > 
> > New agent called GlobalTileManagementAgent or MetaCitizenManagementAgent.
> > 
> > Purpose: Since the CMA doesn't do any inter-city optimization anothe
> > level of is needed. The GTMA/MCMA acts upon so called Overlapping City
> > Set (OCS). These are cities which directly or indirectly share a tile
> > with each other. Through the GTMA/MCMA the user can set a parameter
> > called level for each city within a OCS. Each city in a OCS has to
> > have a different level. A city with a higher level can "steal" tiles
> > from a city with a lower level.
> > 
> 
> Why not automatically allocate levels based on Food/Production/Trade
> weights?

This may be possible. But this only a detail.

> If I've set the trade weight to be highest, give preference to
> cities with the highest trade (considering all tiles). That will
> produce a ranking of cities.  The standing of the cities should be
> human editable as you suggested though.
> 
> > If each city in a OCS is handled as a seperate object there is the
> > possibility that there are endless feedback loops.
> > 
> > Implementation: The agent will make use of the CMA. A simple
> > implementation would be to 
> >  - "freeze" the CMA
> 
> How do you plan to freeze the CMA?

Good question. It can be done but I have no detailed plan.

> >  - remove any worker
> >  - "unfreeze" the CMA
> >  - call the CMA for the city with the highest level
> >  - call the CMA for the city with the second-highest level
> > ...
> >  - call the CMA for the city with the lowest level
> > 
> > Open issues: What level should have human-user managemented cities
> > get?
> >
> 

> The highest level possible, all CMA cities should be below the
> lowest human managed city. The user will experience the problem that
> lead to this thread in the first place if this isn't done.

Probably.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "It is not yet possible to change operating system by writing
  to /proc/sys/kernel/ostype."              sysctl(2) man page


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