Tree module ?

Magnus L. Hetland mlh at idt.ntnu.no
Thu Aug 26 09:58:58 EDT 1999


Andreas Jung <ajung at sz-sb.de> writes:

> I'm looking for a general tree module for building non-binary unbalanced
> trees.=20
> 
> Any hints or comments ?=20

What kind of functionality do you require? If the building of trees is
all you need, there is hardly a need for a specific module...

There are *plenty* of ways of doing this... You could make some
fitting classes, or you could simply use lists... Each internal node
is a list of children, for instance...

> 
> Cheers,
> Andreas

--

  Magnus              Making no sound / Yet smouldering with passion
  Lie          The firefly is still sadder / Than the moaning insect
  Hetland                                       : Minamoto Shigeyuki




More information about the Python-list mailing list