Hierarchical data structure

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • perhiyar
    New Member
    • Jan 2008
    • 5

    #1

    Hierarchical data structure

    I want to design a pyramid data structure for spatial data. Pyramid data structure hierarchically decomposes the spatial space into H levels where
    a level of height h has 4^h grid cells. The root of the pyramid is of height zero and has only one grid cell that covers the whole space. first level should contains 4, 2rd should contain 16 cells and so on.

    So please just give me guideline how can i do this?

    Through arrays, or some other basic data structure

    With Regards
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Google for quad tree and you'll know everything you always wanted to know
    but were too afraid to ask.

    kind regards,

    Jos

    Comment

    Working...