Institut de Robòtica i Informàtica Industrial

EmptyTree

PURPOSE ^

Checks if a BTree is empty.

SYNOPSIS ^

function e=EmptyTree(T)

DESCRIPTION ^

 Checks if a BTree is empty.

 Returns true for empty trees (i.e., trees with depth 0).

 See also BTree.

CROSS-REFERENCE INFORMATION ^

This function calls:
This function is called by:

SOURCE CODE ^

0001 function e=EmptyTree(T)
0002 % Checks if a BTree is empty.
0003 %
0004 % Returns true for empty trees (i.e., trees with depth 0).
0005 %
0006 % See also BTree.
0007 
0008   e=(T.height==0);


Institut de Robòtica i Informàtica Industrial

Generated on Fri 24-Jul-2009 12:32:50 by m2html © 2003