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

tree

PURPOSE ^

tree -- Constructor for a tree object which is actually a single rootnode

SYNOPSIS ^

function tree = tree(v,varargin)

DESCRIPTION ^

tree -- Constructor for a tree object which is actually a single rootnode
 input
   v: A value for the rootnode
   name: A name for the rootnode
   children: A cell array with the children (have to be tree objects)
    of the rootnode
 output:
   tree: A new tree
 example
   t = tree('value','A tree',{t1 t2}) %t1, t2 are tree objects

CROSS-REFERENCE INFORMATION ^

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