FST
openfst-1.8.4
OpenFst Library
|
#include <trie.h>
Public Types | |
typedef L | Label |
typedef V | Value |
typedef T | Topology |
Public Member Functions | |
MutableTrie ()=default | |
template<class S > | |
MutableTrie (const MutableTrie< L, V, S > &that) | |
void | swap (MutableTrie &that) |
int | Root () const |
size_t | NumNodes () const |
int | Insert (int parent, const L &label) |
int | Find (int parent, const L &label) const |
const T & | TrieTopology () const |
V & | operator[] (int node_id) |
const V & | operator[] (int node_id) const |
bool | operator== (const MutableTrie &that) const |
bool | operator!= (const MutableTrie &that) const |
std::istream & | Read (std::istream &strm) |
std::ostream & | Write (std::ostream &strm) const |
Friends | |
template<class LL , class VV , class TT > | |
class | MutableTrie |
typedef L fst::MutableTrie< L, V, T >::Label |
typedef T fst::MutableTrie< L, V, T >::Topology |
typedef V fst::MutableTrie< L, V, T >::Value |
|
default |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |