public inbox for xconq7@sourceware.org
 help / color / mirror / Atom feed
* Possible bug in side_can_research
@ 2004-09-10 19:17 Lincoln Peters
  2004-09-11  2:49 ` Eric McDonald
  0 siblings, 1 reply; 4+ messages in thread
From: Lincoln Peters @ 2004-09-10 19:17 UTC (permalink / raw)
  To: Xconq list

When I re-wrote ai_plan_research, I had assumed that the
side_can_research function would return false for advances that have
already been researched.  However, having run advances.g several times
under AI control, I've found that the AI will frequently select an
advance that it already has discovered.  And I have not found any logic
errors in the new ai_plan_research function.*

Would it be reasonable to modify side_can_research so that it returns
false for advances that the side already has?  Or would it be better to
place the necessary code in ai_plan_research instead?


* This is not to imply that no logic errors exist in the new version,
just that if they do exist, they are currently undiscovered.

---
Lincoln Peters
<sampln@sbcglobal.net>

BOFH excuse #251:

Processes running slowly due to weak power supply

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-09-11 19:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-10 19:17 Possible bug in side_can_research Lincoln Peters
2004-09-11  2:49 ` Eric McDonald
2004-09-11 19:27   ` Lincoln Peters
2004-09-11 19:54     ` Eric McDonald

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).