NIST

depth

(definition)

Definition: Of a node, the distance from the node to the root of the tree.

Formal Definition: The depth of the root is 0. The depth of a node is one plus the depth of its parent.

Aggregate parent (I am a part of or used in ...)
tree.

See also height, level.

Note: For instance, the root has or is at depth 0, and a child of the root has or is at depth 1.

Author: PEB


Go to the Dictionary of Algorithms and Data Structures home page.

If you have suggestions, corrections, or comments, please get in touch with Paul Black.

Entry modified 26 May 2011.
HTML page formatted Mon Feb 2 13:10:39 2015.

Cite this as:
Paul E. Black, "depth", in Dictionary of Algorithms and Data Structures [online], Vreda Pieterse and Paul E. Black, eds. 26 May 2011. (accessed TODAY) Available from: http://www.nist.gov/dads/HTML/depth.html