Classes | Defines

Trie.h File Reference

Go to the source code of this file.

Classes

class  CTrie< Trie >

Defines

#define IGNORE_IN_CLASSLIST
 Template class Trie implements a suffix trie, i.e. a tree in which all suffixes up to a certain length are stored.

Define Documentation

#define IGNORE_IN_CLASSLIST

Template class Trie implements a suffix trie, i.e. a tree in which all suffixes up to a certain length are stored.

It is excessively used in the CWeightedDegreeStringKernel and CWeightedDegreePositionStringKernel to construct the whole features space $\Phi(x)$ and enormously helps here to speed up SVM training and evaluation.

Note that depending on the underlying structure used, a single symbol in the tree requires 20 bytes (DNATrie). It is also used to do the efficient recursion in computing positional oligomer importance matrices (POIMs) where the structure requires * 20+3*8 (POIMTrie) bytes.

Finally note that this tree may use compact internal nodes (for strings that appear without modifications, thus not requiring further branches), which may save a lot of memory on higher degree tries.

Definition at line 155 of file Trie.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation