FST
openfst-1.8.4
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 ()=default | |
LexicographicWeight (const PairWeight< W1, W2 > &w) | |
LexicographicWeight (W1 w1, W2 w2) | |
bool | Member () const |
LexicographicWeight | Quantize (float delta=kDelta) const |
ReverseWeight | Reverse () const |
![]() | |
PairWeight ()=default | |
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 42 of file lexicographic-weight.h.
using fst::LexicographicWeight< W1, W2 >::ReverseWeight = LexicographicWeight<typename W1::ReverseWeight, typename W2::ReverseWeight> |
Definition at line 48 of file lexicographic-weight.h.
|
default |
|
inlineexplicit |
Definition at line 62 of file lexicographic-weight.h.
|
inline |
Definition at line 65 of file lexicographic-weight.h.
|
inline |
Definition at line 88 of file lexicographic-weight.h.
|
inlinestatic |
Definition at line 77 of file lexicographic-weight.h.
|
inlinestatic |
Definition at line 72 of file lexicographic-weight.h.
|
inlinestatic |
Definition at line 104 of file lexicographic-weight.h.
|
inline |
Definition at line 96 of file lexicographic-weight.h.
|
inline |
Definition at line 100 of file lexicographic-weight.h.
|
inlinestatic |
Definition at line 82 of file lexicographic-weight.h.
|
inlinestatic |
Definition at line 67 of file lexicographic-weight.h.