Skip to main content

treeHeight

Short summary

Function to calculate the height of a tree, as its a balanced binary tree, is defined as height := log\ :sub:2(Nodeamount) (Truncated) log\ :sub:2(x) := log(x)/log(2)

  • Type: USINT
  • Getter: public

Code

Declaration

PROPERTY PROTECTED treeHeight : USINT