From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1051 invoked by alias); 5 Sep 2004 22:09:32 -0000 Mailing-List: contact xconq7-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: xconq7-owner@sources.redhat.com Received: (qmail 1043 invoked from network); 5 Sep 2004 22:09:31 -0000 Received: from unknown (HELO smtp810.mail.sc5.yahoo.com) (66.163.170.80) by sourceware.org with SMTP; 5 Sep 2004 22:09:31 -0000 Received: from unknown (HELO ?192.168.1.101?) (sampln@sbcglobal.net@67.123.174.46 with plain) by smtp810.mail.sc5.yahoo.com with SMTP; 5 Sep 2004 22:09:30 -0000 Subject: Calculating net material production From: Lincoln Peters To: Xconq list Content-Type: text/plain Message-Id: <1094422286.4338.21419.camel@localhost> Mime-Version: 1.0 Date: Sun, 05 Sep 2004 22:30:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2004/txt/msg01125.txt.bz2 I'm working on a new version of ai_plan_research. So far, I've got a fairly good idea of how to measure the worth of an advance by what units it's required for and how it affects existing units*, but the key to solving Elijah's problem with focusing advances is that the calculation has to take into consideration the resources required to achieve that advance. I figure that the best way to do this is to look at the materials used to gain the advance and the number of RP's required, calculate the rate at which they're being produced (or at least being fed into the treasury), and calculate the number of turns required to achieve that advance. Then I divide the calculated worth of the advance by the time required. Is there any code already in place to track such statistics? Or will I have to perform deeper code surgery to do this? * So far, the weighting of an advance by new units it enables versus existing units it affects is haphazard at best, but I hope to fix this later (or at least make it fairly easy for someone else to fix). --- Lincoln Peters Garbage In, Gospel Out