FST  openfst-1.8.3
OpenFst Library
Classes | Namespaces | Typedefs | Functions
signed-log-weight.h File Reference
#include <climits>
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <cstdlib>
#include <random>
#include <string>
#include <fst/log.h>
#include <fst/float-weight.h>
#include <fst/pair-weight.h>
#include <fst/product-weight.h>
#include <fst/util.h>
#include <fst/weight.h>
Include dependency graph for signed-log-weight.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fst::SignedLogWeightTpl< T >
 
class  fst::Adder< SignedLogWeightTpl< T > >
 
struct  fst::WeightConvert< SignedLogWeight, TropicalWeight >
 
struct  fst::WeightConvert< SignedLog64Weight, TropicalWeight >
 
struct  fst::WeightConvert< SignedLogWeight, LogWeight >
 
struct  fst::WeightConvert< SignedLog64Weight, LogWeight >
 
struct  fst::WeightConvert< SignedLogWeight, Log64Weight >
 
struct  fst::WeightConvert< SignedLog64Weight, Log64Weight >
 
struct  fst::WeightConvert< SignedLogWeight, RealWeight >
 
struct  fst::WeightConvert< SignedLog64Weight, RealWeight >
 
struct  fst::WeightConvert< SignedLogWeight, Real64Weight >
 
struct  fst::WeightConvert< SignedLog64Weight, Real64Weight >
 
struct  fst::WeightConvert< TropicalWeight, SignedLogWeight >
 
struct  fst::WeightConvert< LogWeight, SignedLogWeight >
 
struct  fst::WeightConvert< Log64Weight, SignedLogWeight >
 
struct  fst::WeightConvert< RealWeight, SignedLogWeight >
 
struct  fst::WeightConvert< Real64Weight, SignedLogWeight >
 
struct  fst::WeightConvert< SignedLog64Weight, SignedLogWeight >
 
struct  fst::WeightConvert< TropicalWeight, SignedLog64Weight >
 
struct  fst::WeightConvert< LogWeight, SignedLog64Weight >
 
struct  fst::WeightConvert< Log64Weight, SignedLog64Weight >
 
struct  fst::WeightConvert< RealWeight, SignedLog64Weight >
 
struct  fst::WeightConvert< Real64Weight, SignedLog64Weight >
 
struct  fst::WeightConvert< SignedLogWeight, SignedLog64Weight >
 
class  fst::WeightGenerate< SignedLogWeightTpl< T > >
 

Namespaces

 fst
 

Typedefs

using fst::SignedLogWeight = SignedLogWeightTpl< float >
 
using fst::SignedLog64Weight = SignedLogWeightTpl< double >
 

Functions

template<class T >
SignedLogWeightTpl< T > fst::Plus (const SignedLogWeightTpl< T > &w1, const SignedLogWeightTpl< T > &w2)
 
template<class T >
SignedLogWeightTpl< T > fst::Minus (const SignedLogWeightTpl< T > &w1, const SignedLogWeightTpl< T > &w2)
 
template<class T >
SignedLogWeightTpl< T > fst::Times (const SignedLogWeightTpl< T > &w1, const SignedLogWeightTpl< T > &w2)
 
template<class T >
SignedLogWeightTpl< T > fst::Divide (const SignedLogWeightTpl< T > &w1, const SignedLogWeightTpl< T > &w2, DivideType typ=DIVIDE_ANY)
 
template<class T >
bool fst::ApproxEqual (const SignedLogWeightTpl< T > &w1, const SignedLogWeightTpl< T > &w2, float delta=kDelta)
 
template<class T >
bool fst::operator== (const SignedLogWeightTpl< T > &w1, const SignedLogWeightTpl< T > &w2)
 
template<class T >
bool fst::operator!= (const SignedLogWeightTpl< T > &w1, const SignedLogWeightTpl< T > &w2)
 
template<class T >
SignedLogWeightTpl< T > fst::Plus (const LogWeightTpl< T > &w1, const SignedLogWeightTpl< T > &w2)
 
template<class T >
SignedLogWeightTpl< T > fst::Plus (const SignedLogWeightTpl< T > &w1, const LogWeightTpl< T > &w2)
 
template<class T >
SignedLogWeightTpl< T > fst::Minus (const LogWeightTpl< T > &w1, const SignedLogWeightTpl< T > &w2)
 
template<class T >
SignedLogWeightTpl< T > fst::Minus (const SignedLogWeightTpl< T > &w1, const LogWeightTpl< T > &w2)
 
template<class T >
SignedLogWeightTpl< T > fst::Times (const LogWeightTpl< T > &w1, const SignedLogWeightTpl< T > &w2)
 
template<class T >
SignedLogWeightTpl< T > fst::Times (const SignedLogWeightTpl< T > &w1, const LogWeightTpl< T > &w2)
 
template<class T >
SignedLogWeightTpl< T > fst::Divide (const LogWeightTpl< T > &w1, const SignedLogWeightTpl< T > &w2, DivideType typ=DIVIDE_ANY)
 
template<class T >
SignedLogWeightTpl< T > fst::Divide (const SignedLogWeightTpl< T > &w1, const LogWeightTpl< T > &w2, DivideType typ=DIVIDE_ANY)
 
template<class T >
bool fst::ApproxEqual (const LogWeightTpl< T > &w1, const SignedLogWeightTpl< T > &w2, float delta=kDelta)
 
template<class T >
bool fst::ApproxEqual (const SignedLogWeightTpl< T > &w1, const LogWeightTpl< T > &w2, float delta=kDelta)
 
template<class T >
bool fst::operator== (const LogWeightTpl< T > &w1, const SignedLogWeightTpl< T > &w2)
 
template<class T >
bool fst::operator== (const SignedLogWeightTpl< T > &w1, const LogWeightTpl< T > &w2)
 
template<class T >
bool fst::operator!= (const LogWeightTpl< T > &w1, const SignedLogWeightTpl< T > &w2)
 
template<class T >
bool fst::operator!= (const SignedLogWeightTpl< T > &w1, const LogWeightTpl< T > &w2)
 
template<class W1 , class W2 >
bool fst::SignedLogConvertCheck (W1 weight)