DRAWING binary trees, NEED code, have any handy?

Mriganka Das md8d at mithras.cs.Virginia.EDU
Sat Mar 16 17:46:01 AEST 1991


Hi netters,
	Not wanting to re-invent the wheel, I would like to know if 
anyone has code to DRAW AN (UNBALANCED) BINARY TREE, with a three-tuple
of integers as node labels. Obviously any well written code will render
irrelevant whether it's a 3-tuple labelling and whether it is unbalanced
but I threw them in for the sake of completeness.

I would prefer ANSI C, C or Pascal code in that order. I am prepared to
give whatever type of input is required, i.e parent pointer, or leftchild
rightchild representation, by such a code fragment.

Thanks in advance. Any help will be sincerely appreciated and 
acknowledged. We are trying to grow some cluster trees, and need them
fast for a submission deadline, else I would have coded them myself.

I guess it would be preferable to mail replies directly to me. 

								- Mrigank.



				



More information about the Alt.sources mailing list