(definition)
Definition: Of a node, the distance from the node to the root of the tree.
Aggregate parent (I am a part of or used in ...)
tree.
See also height.
Note: For instance, the root is at depth 0, and a child of the root is at depth 1.
Author: PEB
If you have suggestions, corrections, or comments, please get in touch with Paul E. Black.
Entry modified Mon Mar 15 11:18:31 2004.
HTML page formatted Wed Oct 26 09:47:25 2005.
Cite this as:
Paul E. Black, "depth", from
Dictionary of Algorithms and Data
Structures, Paul E. Black, ed.,
NIST.
http://www.nist.gov/dads/HTML/depth.html