[Freeciv-Dev] Re: Comments on CMA 2.6
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wed, Oct 24, 2001 at 01:43:13PM -0400, Jason Dorje Short wrote:
> Daniel L Speyer wrote:
> >
>
> > Maybe this is getting too complicated, but wouldn't it be better if the
> > CMAs took into account the reachability of squares from other cities? I
> > mean, if you are on the corner of a continent, so that only you can use
> > the whales offshore, but there's also silk nearby, and the player doesn't
> > care about food, it's still better to pick the whales.
> >
> > Maybe that's just to much, though.
>
> The way to do this is to calculate the possible use another city could get
> from such a tile, and include it in the calculation directly.
>
> If a tile is in use from another city, assign a "value" to that tile. This
> "value" becomes a fourth element of the optimization function (in addition
> to food/production/trade), with its own weight. The weight can either be
> set by the user or can be fixed to some very small value so that it's only
> used as a tiebreaker.
>
> The "value" a tile gets for this element could either be 0 versus 1 (not
> usable by another city vs usable by another city) or X (where X is the
> number of other cities who can use the tile).
>
> This would probably be the best solution. But can the "value" be easily
> calculated? Can you easily determine what other cities are in range of a
> given tile?
Yes. A city_map_checked_iterate centered at the given tile.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
BSD: Are you guys coming or what?
- [Freeciv-Dev] Re: Comments on CMA 2.6, (continued)
- [Freeciv-Dev] Re: Comments on CMA 2.6, Christian Knoke, 2001/10/24
- [Freeciv-Dev] Re: Comments on CMA 2.6, Raimar Falke, 2001/10/24
- [Freeciv-Dev] Re: Comments on CMA 2.6, Raimar Falke, 2001/10/24
- [Freeciv-Dev] Re: Comments on CMA 2.6, Jason Dorje Short, 2001/10/24
- [Freeciv-Dev] Re: Comments on CMA 2.6, Raimar Falke, 2001/10/24
- [Freeciv-Dev] Re: Comments on CMA 2.6, Daniel L Speyer, 2001/10/24
- [Freeciv-Dev] Re: Comments on CMA 2.6, Jason Dorje Short, 2001/10/24
- [Freeciv-Dev] Re: Comments on CMA 2.6,
Raimar Falke <=
- [Freeciv-Dev] Re: Comments on CMA 2.6, Raimar Falke, 2001/10/24
- [Freeciv-Dev] Re: Comments on CMA 2.6, Gregory Berkolaiko, 2001/10/25
- [Freeciv-Dev] Re: Comments on CMA 2.6, Raimar Falke, 2001/10/25
- [Freeciv-Dev] Re: Comments on CMA 2.6, Gregory Berkolaiko, 2001/10/26
- [Freeciv-Dev] Re: Comments on CMA 2.6, Raimar Falke, 2001/10/28
|
|