klerd / bwta

Automatically exported from code.google.com/p/bwta
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Splitting analyze() into region analysis and base location placement? #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This is more of a request than an issue. I think it would be great if you 
could split the analyze() function into two different functions - one that 
analyzes baselocations and assigns mineralsets to them and such, and one 
that does the rest. The reason is that I suspect the baselocation analysis 
is faster than the chokepoint / voronoi analysis, and in my AI, it would 
be very useful to have baselocations ready in early game (without having 
to wait 2 minutes).

Maybe you could even split it into three: analyze(), analyze_baselocations
() and analyze_terrain(), for backwards compatibility.

Thanks!

Original issue reported on code.google.com by jonah.sc...@gmail.com on 4 Apr 2010 at 8:16

GoogleCodeExporter commented 8 years ago

Original comment by lowerlo...@gmail.com on 11 Apr 2010 at 8:10