Package jazzparser :: Package misc :: Package tree :: Module datastructs
[hide private]
[frames] | no frames]

Module datastructs

source code

Data structures for representing generic trees.

These are for applying generic algorithms to. Note that the trees represented here are ordered trees: their children are ordered. They also contain some methods relating to unordered interpretation, but take care if you want to implement an algorithm on unordered trees that all your operations are unordered.


Author: Mark Granroth-Wilding <mark.granroth-wilding@ed.ac.uk>

Classes [hide private]
  BaseTree
Base class for representing trees.
  Node
Node of a tree.
  ImmutableTree
Tree data structure.
  MutableTree
Normal mutable tree data structure.
Variables [hide private]
  __package__ = None
hash(x)