Home > WaCoLab > package > @tree > addChildrenToLabelRec.m

addChildrenToLabelRec

PURPOSE ^

addChildrenToLabelRec -- Used to add children to a node with a specific label

SYNOPSIS ^

function result = addChildrenToLabelRec(parent,lbl,children)

DESCRIPTION ^

addChildrenToLabelRec -- Used to add children to a node with a specific label

 preconditions:
   * parent is labeled
 input:
   t: The tree to add the children to
   lbl: The label of the node in the tree to add the children to
   children: {child1 child2 ... childn}
 output:
   A new tree is returned with the children added to the specified node

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 12-Oct-2007 20:23:47 by m2html © 2003