Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <ExactSubtreeRepeatsNaive.h>
Static Public Member Functions | |
template<class SymbolType > | |
static tree::RankedTree< unsigned > | repeats (const tree::RankedTree< SymbolType > &tree) |
template<class SymbolType > | |
static tree::PrefixRankedTree< unsigned > | repeats (const tree::PrefixRankedTree< SymbolType > &tree) |
template<class SymbolType > | |
static tree::PostfixRankedTree< unsigned > | repeats (const tree::PostfixRankedTree< SymbolType > &tree) |
template<class SymbolType > | |
static tree::PrefixRankedBarTree< unsigned > | repeats (const tree::PrefixRankedBarTree< SymbolType > &tree) |
Simple computation of subtree repeats
|
static |
|
static |
|
static |
|
static |
Compute a same shaped tree with nodes containing unique subtree ids.