[Freeciv-Dev] (PR#12851) ai_calc_irrigate
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12851 >
ai_calc_irrigate finds the benefit of a worker
performing an irrigation activity by looking at the
value of the tile before an after activity. This
sounds like common sense, but it misses something:
often, the best way to improve a square will be with
several activities, in order, with the full benefity
not being realized until the last step. If the AI
only looks one step ahead, it will miss this. For
example, a a forest might be best used by turning into
a plain with irrigation and a road. If this is os,
these are the steps:
1. Forest (irrigate) -> Plains
2. Plains (irrigate) -> irrigated plains
3. Irrigated plains (roat) -> plains, road, irrigation
However, if you just did step 1., it would make no
sense. You lose 1 shield production, and gain nothing
in return.
Shouldn't the AI base its decision on the value of the
square when fully improved, taking into account how
long it will take to improve it fully?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#12851) ai_calc_irrigate,
Brian Dunstan <=
|
|