I'm just wondering about how you distinguish complex from not complex.
Well, I don't think it's possible to draw a sharp border. Just as it's
almost impossible to draw the line when you call it "light" or "dark".
That doesn't mean that in a lot of cases, it's clear when it's "light"
or "dark". ;-)
Anyway, for me, to call a datastructure complex it usually satisfies
these points:
- It stores elements where the place in the structure implies
(or is implied by) a (spacial) relationship between the elements.
- It's optimized such that queries and/or updates can be done in
less time than a full scan, or a rebuild of the entire datastructure.
- It will often have some kind of associated datastructure.
But I don't apply the rules very strict.
Abigail
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|