Talk:Quadtree

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Computing  
WikiProject icon This article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 ???  This article has not yet received a rating on the project's quality scale.
 ???  This article has not yet received a rating on the project's importance scale.
 

Leaf, having no children?[edit]

Thanks to the editors who wrote this article. I think the end of the sentence, "A point region (PR) quadtree is a type of quadtree where each node must have exactly four children, or leaf, having no children." could be clearer, though. Could someone who knows the subject clarify what's meant here? Thanks! --Allen 02:54, 9 March 2006 (UTC)

The author probably meant: A point region quadtree is a type of quadtree where each node either has exactly four children, or none. A node with no children is called a leaf.
However, that would define a full or proper quadtree, rather than explain why or how such a tree is used as a region or point region quadtree. -- Gimmetrow 03:49, 4 May 2006 (UTC)

Is the Tree in the picture really a Point Tree?[edit]

"The point quadtree is an adaptation of a binary tree used to represent two dimensional point data. It shares the features of all quadtrees but is a true tree as the centre of a subdivision is always on a point." The tree in the picture looks rather like a Region Tree to me, but I'm not really sure... —Preceding unsigned comment added by 85.0.157.176 (talk) 16:25, 6 February 2008 (UTC)

I believe you're correct. A point quadtree would only subdivide around an existing point in the dataset - the uniform divisions shown in the image sound more like a region tree according to the definitions in this article. I'd like someone else to double-check this though before we change it. Dcoetzee 19:48, 6 February 2008 (UTC)
It's a point quadtree. See http://donar.umiacs.umd.edu/quadtree/regions/regionquad.html for a example of how a region quadtree looks like108.54.157.242 (talk) 14:51, 21 April 2015 (UTC)
Sadly, those Java animations are pretty much dead. Oracle disabled the ability to lower security settings below high around JRE7 U50 or something. Now the only way to run java applets anywhere on the internet is pretty much individually adding every url that has one (no wildcards allowed) to the whitelist manually. Here's David Mount's notes on the point quadtree , with a reading level aimed at undergraduate Computer Science juniors and seniors. ― Padenton|   21:44, 21 April 2015 (UTC)
Apparently, the point/region dichotomy confuses two unrelated issues: how to split (into four rectangles at a sample point or into four squares at the median lines of the parent square) and whether to split (when a box contains too many sample points vs when some continuous function is close enough to constant within it). If you insist that both issues have to be resolved point/point or region/region, you will be unable to correctly describe this example, which is a very standard type of quadtree. The solution is to fix the nomenclature, not to argue about which of two incorrect descriptions is least incorrect. —David Eppstein (talk) 22:25, 21 April 2015 (UTC)

Not strictly a tree?[edit]

Article states:

The region quadtree is not strictly a 'tree' - as the positions of subdivisions are independent of the data

This doesn't make any sense to me, and seems to need expanding. From my perspective, a 'tree' is a structure that consists of (quoting Tree (graph theory)) an undirected simple graph G that satisfies any of the following equivalent conditions:

  • G is connected and has no cycles.
  • G has no cycles, and a simple cycle is formed if any edge is added to G.
  • G is connected, but is not connected if any single edge is removed from G.
  • G is connected and the 3-vertex complete graph is not a minor of G.
  • Any two vertices in G can be connected by a unique simple path.

The region quadtree clearly meets this definition, so saying it isn't strictly a tree is apparently untrue. Am I missing something? 212.159.69.4 (talk) 06:02, 25 September 2012 (UTC)

I agree with you. I've removed that sentence. —Bkell (talk) 16:34, 25 September 2012 (UTC)


What are the benefits?[edit]

This article doesn't explain what the benefits of storing information in this way are. For example, if I had to store coordinates of the points of rectangles, why would I use a quadtree rather than simply make a data structure that holds the coordinates and use an array of that structure? That would be faster and have less overhead. — Preceding unsigned comment added by 194.42.186.216 (talk) 15:58, 14 September 2013 (UTC)

They're commonly used in 2d cad applications to improve performance. Instead of keeping all elements in the drawing space in memory to an infinite depth, only a quadrant that is in the visible pane is drawn, and only neighbouring nodes are processed when zooming in/out or panning. — Preceding unsigned comment added by 165.255.97.64 (talk) 20:49, 16 July 2016 (UTC)

The regions may be ... rectangular, or may have arbitrary shapes[edit]

really? A citation would be nice! — Preceding unsigned comment added by 134.3.92.202 (talk) 22:27, 21 November 2013 (UTC)

External links modified[edit]

Hello fellow Wikipedians,

I have just added archive links to one external link on Quadtree. Please take a moment to review my edit. If necessary, add {{cbignore}} after the link to keep me from modifying it. Alternatively, you can add {{nobots|deny=InternetArchiveBot}} to keep me off the page altogether. I made the following changes:

When you have finished reviewing my changes, please set the checked parameter below to true or failed to let others know (documentation at {{Sourcecheck}}).

YesY An editor has reviewed this edit and fixed any errors that were found.

  • If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
  • If you found an error with any archives or the URLs themselves, you can fix them with this tool.

If you are unable to use these tools, you may set |needhelp=<your help request> on this template to request help from an experienced user. Please include details about your problem, to help other editors.

Cheers.—cyberbot IITalk to my owner:Online 12:56, 28 February 2016 (UTC)