GraphTheory[TreeHeight]
|
Calling Sequence
|
|
TreeHeight(T, r)
|
|
Description
|
|
•
|
TreeHeight returns the height of the tree T with the vertex r as root. In other words it returns the maximum distance of the vertices of T from r.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
|
|
Download Help Document
Was this information helpful?