Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] Re: flying AI (PR#1162)
Home

[Freeciv-Dev] Re: flying AI (PR#1162)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Raahul Kumar <raahul_da_man@xxxxxxxxx>
Cc: Gregory Berkolaiko <gberkolaiko@xxxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: flying AI (PR#1162)
From: Petr Baudis <pasky@xxxxxxxxxxx>
Date: Sat, 29 Dec 2001 12:22:57 +0100

Dear diary, on Sat, Dec 29, 2001 at 10:51:59AM CET, I got a letter, where
Raahul Kumar <raahul_da_man@xxxxxxxxx> told me, that...
> That sounds good. The problem always lies in naming the goddamn variables.  I
> just lack the ideas for good names that are not already used elsewhere in
> Freeciv in mean other things.
I'm trying my best...

> Desire, is this like want? I assume the 0-100 stuff all applies here, I just
> wish I knew exactly how all these weights interact to decide what gets built.
Almost. The final 'want' value is 'coef' - it should be probably renamed.

Just the choice with highest want wins and gets built ;-).

> Are you sure b is equal to value? How does the build_cost + 40 fit in?
Well, afaik the value is everytime computed this way ;-). It's just as valuable
as much is costs (=> the time wasted with building it).

-- 

                                Petr "Pasky" Baudis

UN*X programmer, UN*X administrator, hobbies = IPv6, IRC, FreeCiv, (e)links
.
Firewall in a way is like the doorkeeper of a local pub. If you don't have your
I.D. on you, or if for some reason you do not qualify to enter, the doorkeeper
will not permit you to enter. In some extreme cases these doorkeepers will not
let you out, or at least give you a hard time before they finally let you out.
.
Public PGP key, geekcode and stuff: http://pasky.ji.cz/~pasky/


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