Main Content

wtreemgr

NTREE manager

Syntax

Description

wtreemgr is a tree management utility.

This function returns information on the tree T depending on the value of the OPT parameter.

Allowed values for OPT are listed in the table below.

'allnodes'Tree nodes
'isnode'True for existing node
'istnode'True for terminal nodes
'nodeasc'Node ascendants
'nodedesc'Node descendants
'nodepar'Node parent
'ntnode'Number of terminal nodes
'tnodes'Terminal nodes
'leaves'Terminal nodes
'noleaves'Not terminal nodes
'order'Tree order
'depth'Tree depth

Version History

Introduced before R2006a