Model Independence
l
We can abstract away the specific
representation being used:
l
isLeaf
(T) 1 when T is leaf, 0 otherwise.
l
offspring
(T) the list of offspring of a
non-leaf, undefined otherwise
l
The implementation depends on which
tree model we are using.