Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2002:
[Freeciv-Dev] Re: Tech research (PR#1462)
Home

[Freeciv-Dev] Re: Tech research (PR#1462)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Per I. Mathisen" <Per.Inge.Mathisen@xxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, <bugs@xxxxxxxxxxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Tech research (PR#1462)
From: Gregory Berkolaiko <Gregory.Berkolaiko@xxxxxxxxxxxx>
Date: Tue, 21 May 2002 18:32:17 +0100 (BST)

On Wed, 15 May 2002, Per I. Mathisen wrote:

> On Wed, 15 May 2002, Christian Knoke wrote:
> > Obviously the computation of points required for a new tech
> > has substantially changed. I can't see how it is done now.
> 
> The cost of technology is ((1 + num_parents) * researchcost), where
> num_parents is number of requirements for tech, counted recursively.

Re: tech cost style 1 analysis

obviously 
        ((1 + num_parents) * researchcost)
doesn't work very well.  You need something which grows faster that linear 
with num_parents.
        pow(2, num_parents) * researchcost  
is an overshot, with max number of prereqs around 70...  The square: 
        ((1 + num_parents) * (1 + num_parents) * researchcost)
is better, but still too much.  Maybe instead of num_parents we should use 
max_depth and then square?

> Yours,
> per
> 
> "As Israeli forces pursued militants, civilians
> continued getting in the way and dying as a
> result." -- New York Times, April 21

Did they get the militants though?



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