Re: [Freeciv-Dev] PATCH: AI governments
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
rizos@xxxxxxxx (rizos@xxxxxxxx) wrote:
> As i wrote last month, the main criterion for a government change is
> the maximization of the quantity (3*trade_prod + 2*shield_surplus)/5.
This is mathematically equivalent to maximizing the quantity
(3*trade_prod + 2*shield_surplus). There's no need to divide by 5; and
removing that division from the code will make it ever-so-slightly faster.
--
Greg Wooledge | Distributed.NET http://www.distributed.net/
wooledge@xxxxxxxxxxx | because a CPU is a terrible thing to waste.
http://www.kellnet.com/wooledge/ |
- [Freeciv-Dev] PATCH: AI governments, rizos, 1999/07/06
- Re: [Freeciv-Dev] PATCH: AI governments,
Greg Wooledge <=
- Re: [Freeciv-Dev] PATCH: AI governments, David Pfitzner, 1999/07/06
- Re: [Freeciv-Dev] PATCH: AI governments, Nicolas Brunel, 1999/07/07
- Re: [Freeciv-Dev] PATCH: AI governments, Reinier Post, 1999/07/07
- Re: [Freeciv-Dev] PATCH: AI governments + PATCH hell level, Nicolas Brunel, 1999/07/07
- Re: [Freeciv-Dev] PATCH: AI governments + PATCH hell level, Rizos Sakellariou, 1999/07/08
- Re: [Freeciv-Dev] PATCH: AI governments + PATCH hell level, Nicolas Brunel, 1999/07/08
- Re: [Freeciv-Dev] PATCH: AI governments + PATCH hell level, David Pfitzner, 1999/07/08
- Re: [Freeciv-Dev] PATCH: AI governments + PATCH hell level, Peter Schaefer, 1999/07/08
- Re: [Freeciv-Dev] PATCH: AI governments + PATCH hell level, David Pfitzner, 1999/07/09
- Re: [Freeciv-Dev] PATCH: AI governments + PATCH hell level, Tony Stuckey, 1999/07/08
|
|