.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #12  
Old May 6th, 2002, 09:42 PM

E. Albright E. Albright is offline
Second Lieutenant
 
Join Date: Sep 2000
Location: Ohio, USA
Posts: 454
Thanks: 0
Thanked 0 Times in 0 Posts
E. Albright is on a distinguished road
Default Re: Some remark from a stars! player

quote:
Originally posted by DirectorTsaarx:
[...]
Carryover of production ability might be nice, but I have no idea how difficult it would be to program. Or what the effect would be on the AI's production ability.
[...]



[WILD_SPECULATION]
Weeell... If we assume that the AI is filling its build queue in a knapsack-esque fashion (w/ a scheme like "weight" = cost, "capacity" = time, and "value" = importance to the AI given the situation), than it seems like it ought to be trivial to convert the build queue to a fractional knapsack algorithm, which would solve the AI portion of this problem quite nicely. 'Course, that first assumption might be a bit of a tall order...
[/WILD_SPECULATION]

(Anyone care to guess who ought to be studying for an Analysis of Algorithms final instead of reading the forums?)

E. Albright

[EDIT: Corrected parameters ("weight", etc.) in my knapsack analogy / speculation / whatever. Hmm... If my initial post reflected my understanding of knapsack problems, I REALLY ought to be studying...]

[ 06 May 2002: Message edited by: ealbright ]

Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 10:46 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.