Home > freetb4matlab > sparse > treelayout.m

treelayout

PURPOSE ^

% treelayout lays out a tree or a forest. The first argument @var{Tree} is a vector of

SYNOPSIS ^

function [x_coordinate, y_coordinate, height, s] = treelayout (tree, permutation)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} treelayout (@var{Tree})
% @deftypefnx {Function File} {} treelayout (@var{Tree}, @var{permutation})
% treelayout lays out a tree or a forest.  The first argument @var{Tree} is a vector of
% predecessors, optional parameter @var{permutation} is an optional postorder permutation.
% The complexity of the algorithm is O(n) in
% terms of time and memory requirements.
% @seealso{etreeplot, gplot,treeplot}
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003