FST
openfst-1.8.4
OpenFst Library
|
#include <expectation-weight.h>
Public Types | |
using | ReverseWeight = ExpectationWeight< typename W1::ReverseWeight, typename W2::ReverseWeight > |
![]() | |
using | ReverseWeight = PairWeight< typename W1::ReverseWeight, typename W2::ReverseWeight > |
Public Member Functions | |
ExpectationWeight () | |
ExpectationWeight (const PairWeight< W1, W2 > &weight) | |
ExpectationWeight (const W1 &w1, const W2 &w2) | |
ExpectationWeight | Quantize (float delta=kDelta) const |
ReverseWeight | Reverse () const |
bool | Member () 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 ExpectationWeight & | Zero () |
static const ExpectationWeight & | One () |
static const ExpectationWeight & | 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 62 of file expectation-weight.h.
using fst::ExpectationWeight< W1, W2 >::ReverseWeight = ExpectationWeight<typename W1::ReverseWeight, typename W2::ReverseWeight> |
Definition at line 72 of file expectation-weight.h.
|
inline |
Definition at line 74 of file expectation-weight.h.
|
inlineexplicit |
Definition at line 76 of file expectation-weight.h.
|
inline |
Definition at line 79 of file expectation-weight.h.
|
inline |
Definition at line 110 of file expectation-weight.h.
|
inlinestatic |
Definition at line 91 of file expectation-weight.h.
|
inlinestatic |
Definition at line 86 of file expectation-weight.h.
|
inlinestatic |
Definition at line 112 of file expectation-weight.h.
|
inline |
Definition at line 102 of file expectation-weight.h.
|
inline |
Definition at line 106 of file expectation-weight.h.
|
inlinestatic |
Definition at line 96 of file expectation-weight.h.
|
inlinestatic |
Definition at line 81 of file expectation-weight.h.