Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Static Public Member Functions
tree::simplify::NormalizeTreeLabels Class Reference

#include <NormalizeTreeLabels.h>

Static Public Member Functions

template<class SymbolType >
static tree::RankedTree< unsigned > normalize (const tree::RankedTree< SymbolType > &tree)
 

Detailed Description

Simple computation of subtree repeats

Member Function Documentation

◆ normalize()

template<class SymbolType >
tree::RankedTree< unsigned > tree::simplify::NormalizeTreeLabels::normalize ( const tree::RankedTree< SymbolType > &  tree)
static

Compute a same shaped tree with nodes containing unique subtree ids.

Returns
Tree of repeats

The documentation for this class was generated from the following file: