FST
openfst-1.8.2
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 69 of file union-weight.h.
using fst::UnionWeight< W, O >::Compare = typename O::Compare |
Definition at line 87 of file union-weight.h.
using fst::UnionWeight< W, O >::Merge = typename O::Merge |
Definition at line 88 of file union-weight.h.
using fst::UnionWeight< W, O >::ReverseWeight = UnionWeight<typename W::ReverseWeight, typename O::ReverseOptions> |
Definition at line 91 of file union-weight.h.
using fst::UnionWeight< W, O >::Weight = W |
Definition at line 86 of file union-weight.h.
|
inline |
Definition at line 99 of file union-weight.h.
|
inlineexplicit |
Definition at line 101 of file union-weight.h.
|
inline |
Definition at line 156 of file union-weight.h.
|
inline |
Definition at line 149 of file union-weight.h.
|
inline |
Definition at line 329 of file union-weight.h.
|
inline |
Definition at line 300 of file union-weight.h.
|
inlinestatic |
Definition at line 115 of file union-weight.h.
|
inlinestatic |
Definition at line 110 of file union-weight.h.
|
inlinestatic |
Definition at line 127 of file union-weight.h.
void fst::UnionWeight< W, O >::PushBack | ( | W | weight, |
bool | srt | ||
) |
Definition at line 185 of file union-weight.h.
|
inline |
Definition at line 309 of file union-weight.h.
|
inline |
Definition at line 277 of file union-weight.h.
|
inline |
Definition at line 318 of file union-weight.h.
|
inline |
Definition at line 154 of file union-weight.h.
|
inline |
Definition at line 165 of file union-weight.h.
|
inlinestatic |
Definition at line 121 of file union-weight.h.
|
inline |
Definition at line 290 of file union-weight.h.
|
inlinestatic |
Definition at line 105 of file union-weight.h.
|
friend |
Definition at line 93 of file union-weight.h.
|
friend |
Definition at line 94 of file union-weight.h.