DatabaseGroup / tree-similarity

Library for tree similarity algorithms and queries.
MIT License
75 stars 14 forks source link

node.h - Minimal codebase/Base class #2

Closed danielkocher closed 7 years ago

danielkocher commented 8 years ago

Check if node class can be shortened. It should be as short as possible to minimize the effort if someone wants to create a custom node class.

It may also be desirable to have the node class to provide the interface and some fundamental methods (e.g. get_subtree_size). Then it would be much easier to implement a custom node class!