Weighted Tree
Fragment of a discussion from User talk:Skilgannon/KDTree
Jump to navigation
Jump to search
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.
Skilgannon (talk)