Difference between revisions of "Thread:User talk:Skilgannon/KDTree/Weighted Tree/reply (2)"

From Robowiki
Jump to navigation Jump to search
m (Reply to Weighted Tree)
 
(No difference)

Latest revision as of 13:13, 24 December 2013

In Wintermute I have a single tree for bullet hits, but I have 3 different weighting schemes that concentrate on different types of enemies. Since they all use the same tree I just set the different weights before pulling the KNN. It could be done just as well (and probably a bit faster) by keeping different trees, but I wanted the possibility of adjusting the weights as the battle went on, even though I never ended up using it.