Manager for tree structure.
Syntax
[OUT1,OUT2,OUT3,OUT4] = wtreemgr(OPT,STRUCTURE,IN3,IN4,IN5)
Description
wtreemgr is a tree management utility.
Allowed values for OPT and associated uses are described in the functions listed in the See Also section:
'allnodes'
|
:
|
All nodes
|
'isnode'
|
:
|
Check if node
|
'istnode'
|
:
|
Check if terminal node
|
'create'
|
:
|
Create a tree
|
'nodeasc'
|
:
|
Node ascendants
|
'nodedesc'
|
:
|
Node descendants
|
'nodepar'
|
:
|
Node parent
|
'ntnode'
|
:
|
Number of terminal nodes
|
'tnodes'
|
:
|
Terminal nodes
|
'order'
|
:
|
Order of tree
|
'depth'
|
:
|
Depth of tree
|
For tree structure implementation see maketree.
See Also
allnodes, isnode, istnode, maketree, nodeasc, nodedesc, nodepar, ntnode, tnodes, treedpth, treeord
[ Previous | Help Desk ]