FST
openfst-1.8.3
OpenFst Library
|
#include <union-weight.h>
Public Types | |
using | Weight = W |
using | Compare = typename O::Compare |
using | Merge = typename O::Merge |
using | ReverseWeight = UnionWeight< typename W::ReverseWeight, typename O::ReverseOptions > |
Public Member Functions | |
UnionWeight () | |
UnionWeight (W weight) | |
bool | Member () const |
std::istream & | Read (std::istream &strm) |
std::ostream & | Write (std::ostream &strm) const |
size_t | Hash () const |
UnionWeight | Quantize (float delta=kDelta) const |
ReverseWeight | Reverse () const |
void | Clear () |
size_t | Size () const |
const W & | Back () const |
void | PushBack (W weight, bool srt) |
void | Sort () |
Static Public Member Functions | |
static const UnionWeight & | Zero () |
static const UnionWeight & | One () |
static const UnionWeight & | NoWeight () |
static const std::string & | Type () |
static constexpr uint64_t | Properties () |
Friends | |
class | UnionWeightIterator< W, O > |
class | UnionWeightReverseIterator< W, O > |
Definition at line 72 of file union-weight.h.
using fst::UnionWeight< W, O >::Compare = typename O::Compare |
Definition at line 88 of file union-weight.h.
using fst::UnionWeight< W, O >::Merge = typename O::Merge |
Definition at line 89 of file union-weight.h.
using fst::UnionWeight< W, O >::ReverseWeight = UnionWeight<typename W::ReverseWeight, typename O::ReverseOptions> |
Definition at line 92 of file union-weight.h.
using fst::UnionWeight< W, O >::Weight = W |
Definition at line 87 of file union-weight.h.
|
inline |
Definition at line 100 of file union-weight.h.
|
inlineexplicit |
Definition at line 102 of file union-weight.h.
|
inline |
Definition at line 157 of file union-weight.h.
|
inline |
Definition at line 150 of file union-weight.h.
|
inline |
Definition at line 330 of file union-weight.h.
|
inline |
Definition at line 301 of file union-weight.h.
|
inlinestatic |
Definition at line 116 of file union-weight.h.
|
inlinestatic |
Definition at line 111 of file union-weight.h.
|
inlinestatic |
Definition at line 128 of file union-weight.h.
void fst::UnionWeight< W, O >::PushBack | ( | W | weight, |
bool | srt | ||
) |
Definition at line 186 of file union-weight.h.
|
inline |
Definition at line 310 of file union-weight.h.
|
inline |
Definition at line 278 of file union-weight.h.
|
inline |
Definition at line 319 of file union-weight.h.
|
inline |
Definition at line 155 of file union-weight.h.
|
inline |
Definition at line 166 of file union-weight.h.
|
inlinestatic |
Definition at line 122 of file union-weight.h.
|
inline |
Definition at line 291 of file union-weight.h.
|
inlinestatic |
Definition at line 106 of file union-weight.h.
|
friend |
Definition at line 94 of file union-weight.h.
|
friend |
Definition at line 95 of file union-weight.h.