FST
openfst-1.8.2
OpenFst Library
|
#include <lexicographic-weight.h>
Public Types | |
using | ReverseWeight = LexicographicWeight< typename W1::ReverseWeight, typename W2::ReverseWeight > |
![]() | |
using | ReverseWeight = PairWeight< typename W1::ReverseWeight, typename W2::ReverseWeight > |
Public Member Functions | |
LexicographicWeight () | |
LexicographicWeight (const PairWeight< W1, W2 > &w) | |
LexicographicWeight (W1 w1, W2 w2) | |
bool | Member () const |
LexicographicWeight | Quantize (float delta=kDelta) const |
ReverseWeight | Reverse () const |
![]() | |
PairWeight () | |
PairWeight (W1 w1, W2 w2) | |
std::istream & | Read (std::istream &strm) |
std::ostream & | Write (std::ostream &strm) const |
bool | Member () const |
size_t | Hash () const |
PairWeight< W1, W2 > | Quantize (float delta=kDelta) const |
ReverseWeight | Reverse () const |
const W1 & | Value1 () const |
const W2 & | Value2 () const |
void | SetValue1 (const W1 &weight) |
void | SetValue2 (const W2 &weight) |
Static Public Member Functions | |
static const LexicographicWeight & | Zero () |
static const LexicographicWeight & | One () |
static const LexicographicWeight & | NoWeight () |
static const std::string & | Type () |
static constexpr uint64_t | Properties () |
![]() | |
static const PairWeight< W1, W2 > & | Zero () |
static const PairWeight< W1, W2 > & | One () |
static const PairWeight< W1, W2 > & | NoWeight () |
Definition at line 43 of file lexicographic-weight.h.
using fst::LexicographicWeight< W1, W2 >::ReverseWeight = LexicographicWeight<typename W1::ReverseWeight, typename W2::ReverseWeight> |
Definition at line 49 of file lexicographic-weight.h.
|
inline |
Definition at line 61 of file lexicographic-weight.h.
|
inlineexplicit |
Definition at line 63 of file lexicographic-weight.h.
|
inline |
Definition at line 66 of file lexicographic-weight.h.
|
inline |
Definition at line 89 of file lexicographic-weight.h.
|
inlinestatic |
Definition at line 78 of file lexicographic-weight.h.
|
inlinestatic |
Definition at line 73 of file lexicographic-weight.h.
|
inlinestatic |
Definition at line 105 of file lexicographic-weight.h.
|
inline |
Definition at line 97 of file lexicographic-weight.h.
|
inline |
Definition at line 101 of file lexicographic-weight.h.
|
inlinestatic |
Definition at line 83 of file lexicographic-weight.h.
|
inlinestatic |
Definition at line 68 of file lexicographic-weight.h.