ArticleslgStudy

computer science

H tree

H tree is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand H tree rather than just read about it. In short: In fractal geometry, the H tree is a fractal tree structure constructed from perpendicular line segments, each smaller by a factor of the square root of 2 from the next larger adjacent segment. It is so called because its repeating pattern resembles the letter "H".

H tree — main illustration
H tree — illustration

Key takeaways

  • H tree belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect H tree to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of H tree from memory before moving on to harder problems.

Reference excerpt

In fractal geometry, the H tree is a fractal tree structure constructed from perpendicular line segments, each smaller by a factor of the square root of 2 from the next larger adjacent segment. It is so called because its repeating pattern resembles the letter "H". It has Hausdorff dimension 2, and comes arbitrarily close to every point in a rectangle. Its applications include VLSI design and microwave engineering.

Construction An H tree can be constructed by starting with a line segment of arbitrary length, drawing two shorter segments at right angles to the first through its endpoints, and continuing in the same vein, reducing (dividing) the length of the line segments drawn at each stage by 2 {\displaystyle {\sqrt {2}}} . A variant of this construction could also be defined in which the length at each iteration is multiplied by a ratio less than 1 / 2 {\displaystyle 1/{\sqrt {2}}} , but for this variant the resulting shape covers only part of its bounding rectangle, with a fractal boundary. An alternative process that generates the same fractal set is to begin with a rectangle with sides in the ratio 1 : 2 {\displaystyle 1:{\sqrt {2}}} , and repeatedly bisect it into two smaller silver rectangles, at each stage connecting the two centroids of the two smaller rectangles by a line segment. A similar process can be performed with rectangles of any other shape, but the 1 : 2 {\displaystyle 1:{\sqrt {2}}} rectangle leads to the line segment size decreasing uniformly by a 2 {\displaystyle {\sqrt {2}}} factor at each step while for other rectangles the length will decrease by different factors at odd and even levels of the recursive construction.

Properties The H tree is a self-similar fractal; its Hausdorff dimension is equal to 2. The points of the H tree come arbitrarily close to every point in a rectangle (the same as the starting rectangle in the constructing by centroids of subdivided rectangles). It follows that its topological closure is the entire rectangle. However, it does not include all points of the rectangle; for instance, the points on the perpendicular bisector of the initial line segment (other than the midpoint of this segment) are not included.

Applications In VLSI design, the H tree may be used as the layout for a complete binary tree using a total area that is proportional to the number of nodes of the tree. Additionally, the H tree forms a space efficient layout for trees in graph drawing, and as part of a construction of a point set for which the sum of squared edge lengths of the traveling salesman tour is large. It is commonly used as a clock distribution network for routing timing signals to all parts of a chip with equal propagation delays to each part, and has also been used as an interconnection network for VLSI multiprocessors.

The planar H tree can be generalized to the three-dimensional structure via adding line segments on the direction perpendicular to the H tree plane. The resultant three-dimensional H tree has Hausdorff dimension equal to 3. The planar H tree and its three-dimensional version have been found to constitute artificial electromagnetic atoms in photonic crystals and metamaterials and might have potential applications in microwave engineering.

Related sets

The H tree is an example of a fractal canopy, in which the angle between neighboring line segments is always 90 degrees. In its property of coming arbitrarily close to every point of its bounding rectangle, it also resembles a space-filling curve, although it is not itself a curve. Variations of the same tree structure with thickened polygonal branches in place of the line segments of the H tree have been defined by Benoit Mandelbrot, and are sometimes called the Mandelbrot tree. In these variations, to avoid overlaps between the leaves of the tree and their thickened branches, the scale factor by which the size is reduced at each level must be slightly greater than 2 {\displaystyle {\sqrt {2}}} .

Notes

References

Illustrations

H tree: The first ten levels of an H tree
The first ten levels of an H tree
H tree: 3-dimensional H tree
3-dimensional H tree
H tree: 14 steps of the fractal canopy tree, animated.
14 steps of the fractal canopy tree, animated.

Worked examples

Example 1 — a first encounter with H tree

Start with the simplest possible case. Write down what H tree claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to H tree before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about H tree ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of H tree

In research
H tree appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses H tree in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
H tree is common in secondary-school and first-year university syllabi. It links to neighbouring topics Clock signal, Fractals, Trees (data structures), so understanding it makes those chapters shorter.
In everyday life
Look for H tree outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study H tree in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what H tree means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain H tree out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is H tree in simple terms?

In fractal geometry, the H tree is a fractal tree structure constructed from perpendicular line segments, each smaller by a factor of the square root of 2 from the next larger adjacent segment. It is so called because its repeating pattern resembles the letter "H".

Why does H tree matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study H tree?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on H tree.

Tags

  • Clock signal
  • Fractals
  • Trees (data structures)

Keep exploring