9#include <string/LinearString.h>
28 template <
class SymbolType >
33template <
class SymbolType >
46 std::optional < unsigned >
node = k + 1 < w.
getContent ( ).size ( ) ? std::optional < unsigned > ( ) : std::optional < unsigned > (
i - 1 );
Class introducing a trie with interface trying to be close to the interface of standard library conta...
Definition: trie.hpp:47
ext::map< Key, trie > & getChildren()
Getter of children of the root node.
Definition: trie.hpp:115
Suffix trie string index. Tree like representation of all suffixes. Nodes of the trie are optionally ...
Definition: SuffixTrie.h:55
Linear string.
Definition: LinearString.h:57
const ext::set< SymbolType > & getAlphabet() const &
Definition: LinearString.h:103
const ext::vector< SymbolType > & getContent() const &
Definition: LinearString.h:238
Definition: SuffixTrieNaive.h:21
static indexes::stringology::SuffixTrie< SymbolType > construct(const string::LinearString< SymbolType > &w)
Definition: SuffixTrieNaive.h:34
int i
Definition: AllEpsilonClosure.h:118
typename T::SymbolType SymbolType
Definition: ReachableStates.h:176
constexpr auto make_pair(T1 &&x, T2 &&y)
Definition: pair.hpp:79
Definition: ArithmeticCompression.h:18