Wavelet Toolbox    
wtreemgr

NTREE object 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

The functionality associated with the OPT value you specify is described in the functions listed in the "See Also" section.

See Also

allnodes, isnode, istnode, leaves, nodeasc, nodedesc, nodepar, noleaves, ntnode, tnodes, treedpth, treeord


  wthrmngr wvarchg