|
ADS
Algorithms and Data Structures
|
a node \( u \); the edge into it is labeled by the symbols of \( T \) from pos plus the depth of the parent to pos + depth (the terminator at \( n \)) More...
#include <ADS/string/SuffixTree.h>
Public attributes | |
| std::size_t | pos = 0 |
| where \( s[ u ] \) occurs once | |
| std::size_t | depth = 0 |
| the string depth \( |s[ u ]| \) | |
| std::size_t | parent = npos |
| npos at the root | |
| std::size_t | suffix = npos |
| the suffix of a leaf, npos inside | |
| std::size_t | leaves = 0 |
| the leaves below | |
| std::map< std::size_t, std::size_t > | child |
| by first symbol | |
a node \( u \); the edge into it is labeled by the symbols of \( T \) from pos plus the depth of the parent to pos + depth (the terminator at \( n \))
| std::map< std::size_t , std::size_t > ADS::SuffixTree::Node::child |
by first symbol
| std::size_t ADS::SuffixTree::Node::depth = 0 |
the string depth \( |s[ u ]| \)
| std::size_t ADS::SuffixTree::Node::leaves = 0 |
the leaves below
| std::size_t ADS::SuffixTree::Node::pos = 0 |
where \( s[ u ] \) occurs once