Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! 2.6/7 » The Academy » Player assistant "AI"
Re: Player assistant "AI" Wed, 08 March 2006 00:48 Go to previous messageGo to previous message
Madman is currently offline Madman

 
Officer Cadet 1st Year

Messages: 228
Registered: November 2003
Location: New Zealand
m.a@stars wrote on Tue, 07 March 2006 22:37

Sounds good. I've been meaning for a long time to at least try creating optimal scout routes out of nil. Not exactly easy, tho, even if you don't have penscanning. Evil or Very Mad

This is a variation of the 'Travelling Salesman Problem'. A google search will provide lots of material.

Short version: it's NP-complete (solution time for optimal path increases exponentially with the number of Stars), but it should be possible to find a 'good' solution.

One wrinkle is that the fuel/time costs and the various breakpoints (36/49/64/81 etc.) make the travel costs very non-Euclidean, although the triangle inequality still holds. This causes some non-local effects that aren't in the intial TSP - costing an extra year by splitting an 81 year jump into a 36 and a 54 year jump may save enough fuel to save two or more years later on.

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Minerals - mining and depletion
Next Topic: Need a quick answer with detonating minefield question
Goto Forum:
  


Current Time: Thu Jul 04 10:15:21 EDT 2024