FST
openfst-1.8.4
OpenFst Library
|
#include <trie.h>
Classes | |
class | const_iterator |
Public Types | |
typedef L | Label |
typedef H | Hash |
typedef std::unordered_map< L, int, H > | NextMap |
Public Member Functions | |
NestedTrieTopology () | |
NestedTrieTopology (const NestedTrieTopology &that) | |
~NestedTrieTopology ()=default | |
void | swap (NestedTrieTopology &that) |
NestedTrieTopology & | operator= (const NestedTrieTopology &that) |
bool | operator== (const NestedTrieTopology &that) const |
bool | operator!= (const NestedTrieTopology &that) const |
int | Root () const |
size_t | NumNodes () const |
int | Insert (int parent, const L &label) |
int | Find (int parent, const L &label) const |
const NextMap & | ChildrenOf (int parent) const |
std::istream & | Read (std::istream &strm) |
std::ostream & | Write (std::ostream &strm) const |
const_iterator | begin () const |
const_iterator | end () const |
typedef H fst::NestedTrieTopology< L, H >::Hash |
typedef L fst::NestedTrieTopology< L, H >::Label |
typedef std::unordered_map<L, int, H> fst::NestedTrieTopology< L, H >::NextMap |
fst::NestedTrieTopology< L, H >::NestedTrieTopology | ( | ) |
fst::NestedTrieTopology< L, H >::NestedTrieTopology | ( | const NestedTrieTopology< L, H > & | that | ) |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |