Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] Re: (PR#10127) AI does not build either farmland or Superm
Home

[Freeciv-Dev] Re: (PR#10127) AI does not build either farmland or Superm

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: per@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#10127) AI does not build either farmland or Supermarket
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 15 Sep 2004 14:53:51 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10127 >

Marko Lindqvist wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=10127 >
> 
> Jason Short wrote:
> 
>>A similar problem is that there's no incentive to build hoover dam until 
>>sufficient factories are constructed.
>>
>>The more exact our calculations are the more careful we have to be not 
>>to fall into these dependency loops.
> 
> 
>   Should we resolve dependency loops case by case or do we decide some 
> hard rules? Like: In dependency loop between construction selection and 
> infrastructure improvement selection, infra selection always takes the 
> initiative? Hard rules (prioritized list of different selection 
> categories, higher priority decision takes the initiative) would cause 
> non-optimal solutions every now and then, but would make dependency loop 
> avoidance easier.

If there's a hard rule it should be: the more expensive item assumes the 
presence of the less expensive items.  Of course this will fail if two 
items have equal expense.  There is some leeway because we get to choose 
how to compare the expense of non-comparable items (like supermarkets 
and farmland).

Of course the system can fail if two items have equal expense.

jason




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