public inbox for xconq7@sourceware.org
 help / color / mirror / Atom feed
From: Lincoln Peters <sampln@sbcglobal.net>
To: Xconq list <xconq7@sources.redhat.com>
Subject: Calculating net material production
Date: Sun, 05 Sep 2004 22:30:00 -0000	[thread overview]
Message-ID: <1094422286.4338.21419.camel@localhost> (raw)

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
<sampln@sbcglobal.net>

Garbage In, Gospel Out

             reply	other threads:[~2004-09-05 22:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-05 22:30 Lincoln Peters [this message]
2004-09-06 18:51 ` Eric McDonald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1094422286.4338.21419.camel@localhost \
    --to=sampln@sbcglobal.net \
    --cc=xconq7@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).