FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | Static Public Member Functions | List of all members
fst::ErrorWeight Struct Reference

#include <error-weight.h>

Public Types

using ReverseWeight = ErrorWeight
 

Public Member Functions

 ErrorWeight ()
 
uint64_t Hash () const
 
bool Member () const
 
ErrorWeight Quantize (float=0.0) const
 
ReverseWeight Reverse () const
 
void Write (std::ostream &) const
 

Static Public Member Functions

static constexpr uint64_t Properties ()
 
static ErrorWeight Zero ()
 
static ErrorWeight One ()
 
static ErrorWeight NoWeight ()
 
static const std::string & Type ()
 

Detailed Description

Definition at line 29 of file error-weight.h.

Member Typedef Documentation

Definition at line 30 of file error-weight.h.

Constructor & Destructor Documentation

fst::ErrorWeight::ErrorWeight ( )
inline

Definition at line 32 of file error-weight.h.

Member Function Documentation

uint64_t fst::ErrorWeight::Hash ( ) const
inline

Definition at line 34 of file error-weight.h.

bool fst::ErrorWeight::Member ( ) const
inline

Definition at line 35 of file error-weight.h.

static ErrorWeight fst::ErrorWeight::NoWeight ( )
inlinestatic

Definition at line 43 of file error-weight.h.

static ErrorWeight fst::ErrorWeight::One ( )
inlinestatic

Definition at line 42 of file error-weight.h.

static constexpr uint64_t fst::ErrorWeight::Properties ( )
inlinestatic

Definition at line 40 of file error-weight.h.

ErrorWeight fst::ErrorWeight::Quantize ( float  = 0.0) const
inline

Definition at line 36 of file error-weight.h.

ReverseWeight fst::ErrorWeight::Reverse ( ) const
inline

Definition at line 37 of file error-weight.h.

static const std::string& fst::ErrorWeight::Type ( )
inlinestatic

Definition at line 45 of file error-weight.h.

void fst::ErrorWeight::Write ( std::ostream &  ) const
inline

Definition at line 38 of file error-weight.h.

static ErrorWeight fst::ErrorWeight::Zero ( )
inlinestatic

Definition at line 41 of file error-weight.h.


The documentation for this struct was generated from the following file: