FST
openfst-1.8.3
OpenFst Library
|
#include <product-weight.h>
Public Types | |
using | ReverseWeight = ProductWeight< typename W1::ReverseWeight, typename W2::ReverseWeight > |
Public Types inherited from fst::PairWeight< W1, W2 > | |
using | ReverseWeight = PairWeight< typename W1::ReverseWeight, typename W2::ReverseWeight > |
Public Member Functions | |
ProductWeight ()=default | |
ProductWeight (const PairWeight< W1, W2 > &weight) | |
ProductWeight (W1 w1, W2 w2) | |
ProductWeight | Quantize (float delta=kDelta) const |
ReverseWeight | Reverse () const |
Public Member Functions inherited from fst::PairWeight< W1, W2 > | |
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 ProductWeight & | Zero () |
static const ProductWeight & | One () |
static const ProductWeight & | NoWeight () |
static const std::string & | Type () |
static constexpr uint64_t | Properties () |
Static Public Member Functions inherited from fst::PairWeight< W1, W2 > | |
static const PairWeight< W1, W2 > & | Zero () |
static const PairWeight< W1, W2 > & | One () |
static const PairWeight< W1, W2 > & | NoWeight () |
Definition at line 35 of file product-weight.h.
using fst::ProductWeight< W1, W2 >::ReverseWeight = ProductWeight<typename W1::ReverseWeight, typename W2::ReverseWeight> |
Definition at line 38 of file product-weight.h.
|
default |
|
inlineexplicit |
Definition at line 42 of file product-weight.h.
|
inline |
Definition at line 45 of file product-weight.h.
|
inlinestatic |
Definition at line 58 of file product-weight.h.
|
inlinestatic |
Definition at line 53 of file product-weight.h.
|
inlinestatic |
Definition at line 69 of file product-weight.h.
|
inline |
Definition at line 74 of file product-weight.h.
|
inline |
Definition at line 78 of file product-weight.h.
|
inlinestatic |
Definition at line 63 of file product-weight.h.
|
inlinestatic |
Definition at line 48 of file product-weight.h.