home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 3 / 3084 < prev    next >
Encoding:
Internet Message Format  |  1991-03-16  |  1.0 KB

  1. From: md8d@mithras.cs.Virginia.EDU (Mriganka Das )
  2. Newsgroups: alt.sources
  3. Subject: DRAWING binary trees, NEED  code, have any handy?
  4. Message-ID: <1991Mar16.074601.893@murdoch.acc.Virginia.EDU>
  5. Date: 16 Mar 91 07:46:01 GMT
  6.  
  7. Hi netters,
  8.     Not wanting to re-invent the wheel, I would like to know if 
  9. anyone has code to DRAW AN (UNBALANCED) BINARY TREE, with a three-tuple
  10. of integers as node labels. Obviously any well written code will render
  11. irrelevant whether it's a 3-tuple labelling and whether it is unbalanced
  12. but I threw them in for the sake of completeness.
  13.  
  14. I would prefer ANSI C, C or Pascal code in that order. I am prepared to
  15. give whatever type of input is required, i.e parent pointer, or leftchild
  16. rightchild representation, by such a code fragment.
  17.  
  18. Thanks in advance. Any help will be sincerely appreciated and 
  19. acknowledged. We are trying to grow some cluster trees, and need them
  20. fast for a submission deadline, else I would have coded them myself.
  21.  
  22. I guess it would be preferable to mail replies directly to me. 
  23.  
  24.                                 - Mrigank.
  25.  
  26.  
  27.  
  28.                 
  29.