msg00325.html

1999Q2/msg00325.html · 9.0 KB

From the archive 1999Q2.zip

Download the archive   « Back to the archive contents

<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] Re: Quadtrees? -->
<!--X-From-R13: Zvat <Y.Z.Zb&#45;94Nfghqrag.yobeb.np.hx> -->
<!--X-Date: Mon, 24 May 1999 09:54:54 &#45;0700 -->
<!--X-Message-Id: Pine.SOL.3.96.990524125631.22114A&#45;100000@sun&#45;cc203 -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 000001bea551$7f464c00$4b83e6cf@amd400 -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] Re: Quadtrees?</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:K.L.Lo-94#student,lboro.ac.uk">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
      text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">

  <font size="+4" color="#804040">
    <strong><em>MUD-Dev<br>mailing list archive</em></strong>
  </font>
      
<br>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00324.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00326.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00324.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00327.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00325">Author</A>
&nbsp;|&nbsp;<A HREF="#00325">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00325">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] Re: Quadtrees?</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: "<A HREF="mailto:Mud-Dev#Kanga,">Mud-Dev#Kanga,</A> Nu" &lt;<A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A>&gt;</LI>
<LI><em>Subject</em>: Re: [MUD-Dev] Re: Quadtrees?</LI>
<LI><em>From</em>: Ling &lt;<A HREF="mailto:K.L.Lo-94#student,lboro.ac.uk">K.L.Lo-94#student,lboro.ac.uk</A>&gt;</LI>
<LI><em>Date</em>: Mon, 24 May 1999 17:53:25 +0100 (BST)</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Sender</em>: <A HREF="mailto:mud-dev-admin#kanga,nu">mud-dev-admin#kanga,nu</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
Not quite sure why I'm replying to this but anyway...

On Sun, 23 May 1999, Greg Munt wrote:
&gt; &gt;From the archives, dated 27 Feb 1997... (Whats up with WebGlimpse, btw?)
&gt; 
&gt; &gt; [JCL]
&gt; &gt;
&gt; &gt; Unfortunately I have to go confront the IRS, so I'll have to keep this
&gt; &gt; quick.  I think Quadtrees are a *very* bad way to approach spaces in MUDs
&gt; &gt; as they don't lend themselves to the type of spatial processing that I
&gt; &gt; think MUDs require.  My own temptation would be to go for something close
&gt; &gt; to an R*-Tree approach (see below).
&gt; 
&gt; Why such a strong aversion to quad trees? Maybe this is illuminating my poor
&gt; understanding of R-Trees, but the two don't seem to be as different as the
&gt; degree of your aversion would attest. When you get down to it, they both
&gt; model the world, both starting from a general, 'big-picture', with child
&gt; nodes describing smaller and smaller areas, in more and more detail. Would I
&gt; be right in thinking that Q-Trees model only 1 aspect of the world, whereas
&gt; R-Trees (anyone know what the 'R' means, btw?) can model the world in its
&gt; entirety - and that this is why you don't like them? I think that you allude
&gt; to this, later on.. (Marked [1])

R-trees utilises memory more efficiently.  A quadtree would divide in
itself in a systematic manner in the form of recursive squares of precise
dimensions.  R-trees, on the other hand, would look like a bunch of
bounding rectangles those dimensions are determined by the location of the
objects. 

The crunch with r-trees is splitting and merging nodes when they exceed
the minimum or maximum number of objects.  See Guttman's report for three
such techniques. 

Btw, "R" stands for range.

&gt; I just don't get how R-Trees can model the third dimension. Re: node types
&gt; discussed above, do you have a special node type for the z-axis?

I presume you can imagine a one dimensional r-tree which has a bounding
line.  Two-dimensional uses a bounding rectangle and three dimensions uses
a bounding oblong (a better description than rectangle).

Would it surprise you then that r-trees are used to store data in 20+
dimensions?  It is just a matter of adding another axis to each tuple and
therefore more constraints to the search.

Think about it.  With one dimension, you just bound along the x-axis.
With two dimensions, you bound along both x and y.  With three, you bound
along x, y and z.

To be pedantic, what you refer to as quadtrees are actually octrees if you
are thinking in cubes, not squares.  In a similar manner, you should think
of r-trees are storing bounding oblongs, not rectangles.

The disadvantage of r-trees is that they are computationally more
intensive to construct.

You may like to visit:

&lt;URL:<A  HREF="http://www.slip.net/~danielgr/sources/sources.htm">http://www.slip.net/~danielgr/sources/sources.htm</A>&gt;

  |    Ling Lo
_O_O_  kllo#iee,org



_______________________________________________
MUD-Dev maillist  -  MUD-Dev#kanga,nu
<A  HREF="http://www.kanga.nu/lists/listinfo/mud-dev">http://www.kanga.nu/lists/listinfo/mud-dev</A>


</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00327" HREF="msg00327.html">Re: [MUD-Dev] Re: Quadtrees?</A></strong>
<ul compact><li><em>From:</em> Miroslav Silovic &lt;silovic#zesoi,fer.hr&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00322" HREF="msg00322.html">[MUD-Dev] Re: Quadtrees?</A></STRONG>
<UL><LI><EM>From:</EM> "Greg Munt" &lt;greg#uni-corn,demon.co.uk&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00324.html">Re: [MUD-Dev] Re: Quadtrees?</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00326.html">Re: [MUD-Dev] Dynamically changing room descriptions</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00324.html">Re: [MUD-Dev] Re: Quadtrees?</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00327.html">Re: [MUD-Dev] Re: Quadtrees?</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00325"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00325"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><STRONG>Re: [MUD-Dev] ScryMUD 1.9.3 released.</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<LI><strong><A NAME="00330" HREF="msg00330.html">Re: [MUD-Dev] ScryMUD 1.9.3 released.</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Fri 28 May 1999, 04:37 GMT
</LI>
</ul>
</ul>
</LI>
<LI><strong><A NAME="00322" HREF="msg00322.html">[MUD-Dev] Re: Quadtrees?</A></strong>, 
Greg Munt <a href="mailto:greg#uni-corn,demon.co.uk">greg#uni-corn,demon.co.uk</a>, Mon 24 May 1999, 00:26 GMT
<UL>
<LI><strong><A NAME="00323" HREF="msg00323.html">Re: [MUD-Dev] Re: Quadtrees?</A></strong>, 
claw <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Mon 24 May 1999, 03:51 GMT
</LI>
<LI><strong><A NAME="00324" HREF="msg00324.html">Re: [MUD-Dev] Re: Quadtrees?</A></strong>, 
Ola Fosheim Grøstad <a href="mailto:olag#ifi,uio.no">olag#ifi,uio.no</a>, Mon 24 May 1999, 09:39 GMT
</LI>
<LI><strong><A NAME="00325" HREF="msg00325.html">Re: [MUD-Dev] Re: Quadtrees?</A></strong>, 
Ling <a href="mailto:K.L.Lo-94#student,lboro.ac.uk">K.L.Lo-94#student,lboro.ac.uk</a>, Mon 24 May 1999, 16:54 GMT
<UL>
<LI><strong><A NAME="00327" HREF="msg00327.html">Re: [MUD-Dev] Re: Quadtrees?</A></strong>, 
Miroslav Silovic <a href="mailto:silovic#zesoi,fer.hr">silovic#zesoi,fer.hr</a>, Tue 25 May 1999, 15:15 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00317" HREF="msg00317.html">[MUD-Dev] Kanga.Nu has finally moved...</A></strong>, 
claw <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Thu 20 May 1999, 06:50 GMT
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00318" HREF="msg00318.html">[MUD-Dev] Kanga.Nu has finally moved...</A></strong>, 
claw <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Thu 20 May 1999, 06:55 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00309" HREF="msg00309.html">Re: [MUD-Dev] Noise: boys will be boys (was Re: [MUD-Dev] Multi-threaded mud server.)</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Thu 20 May 1999, 05:10 GMT
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>

Site Stats

Snippets: 1791
Codebases: 571