theFlu
Well-known member
That sounds like a binary tree with words as values, no? "Word tree", afaik, is a net for predicting sentence structure, which would be pretty "irrelevant" here. May well be used for both of course..Word trees are used to filter by names, every time you reach a leaf/branch, you check if that is the building you want.
But that still doesn't tell me what you're trying to solve with them; it seems you're just arguing against my "you don't index by name". What was the problem that would require indexing by POI name 1) for this feature 2) that isn't already solved in the game somehow? (quest system already knows what the POIs are, the damage tracking is missing, but doesn't have the POI name to begin with)
(And I said "you don't index by name" because you don't - values on a tree aren't indexes, the structure of a tree doesn't have indexes. That's why you need to seek in it to find the value. Sure, C# calls some such structures "indexers", but they're free to be silly, sadly. You might want to listen to them, I might be a purist, but hey... they can also be wrong...
