Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2005:
[Freeciv-Dev] (PR#12833) consider_settler_action simplification
Home

[Freeciv-Dev] (PR#12833) consider_settler_action simplification

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: bdunstan149@xxxxxxxxx
Subject: [Freeciv-Dev] (PR#12833) consider_settler_action simplification
From: "James Canete" <use_less@xxxxxxxxxxx>
Date: Mon, 18 Apr 2005 16:56:20 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12833 >

> [bdunstan149@xxxxxxxxx - Mon Apr 18 21:38:43 2005]:
> 
> I was looking at the auto settler code to see what
> there is to be done, and one thing I came upon is that
> consider_settler_action has some unnecessary steps. 
> All it has to do is call the amortize() function,
> which will do all the necessary calculation of the
> value of a future benefit. 

Actually, that's wrong.  You can't just amortize the difference in tile
value, because that difference is not a one time payment.  Every turn
after then will also pay the difference, so you need to do an
amortization of a perpetuity.  (That's the accounting classes talking. :)

Anyway the discussion was in PR#7249, go have a look.

-James Canete



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