If I add a hash table to a Object "Node"
How can I fill that table with all the Objects that overlaps.
(it could be a list and not a table)
What I want to do is to build a graph of connected nodes and be able to do different graph traversals of that graph. So beginning in one Node how do i do a depth first search and a breadth first search.
Normally in other languages I would pick a starting node and then recursively visit all of its neigbours. (depth first) Any idea on how to do this?
And any sugestions for the breadth first search?
And finaly.... preferably all these different traversals should be done in one frame. I have one implementation that visits the nodes one by one but only one in each frame.
I hope the question is interesting enough to generate som answers