GRM-SFST  sfst-1.2.1
OpenGrm SFst Library
Classes | Namespaces | Functions | Variables
sfst.h File Reference
#include <sys/types.h>
#include <cmath>
#include <cstddef>
#include <cstdlib>
#include <vector>
#include <fst/float-weight.h>
#include <fst/fst.h>
#include <fst/matcher.h>
#include <fst/signed-log-weight.h>
Include dependency graph for sfst.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sfst::SignedLogWeightApproxEqual< Weight >
 
class  sfst::FailurePath< Arc >
 

Namespaces

 sfst
 

Functions

template<class T >
bool sfst::Less (fst::LogWeightTpl< T > weight1, fst::LogWeightTpl< T > weight2)
 
template<class T >
bool sfst::Less (fst::TropicalWeightTpl< T > weight1, fst::TropicalWeightTpl< T > weight2)
 
template<class T >
bool sfst::Less (fst::RealWeightTpl< T > weight1, fst::RealWeightTpl< T > weight2)
 
template<class T >
bool sfst::Less (fst::SignedLogWeightTpl< T > weight1, fst::SignedLogWeightTpl< T > weight2)
 
template<class Weight >
bool sfst::LessOrEqual (Weight w1, Weight w2)
 
bool sfst::IsNegative (fst::SignedLog64Weight w)
 
bool sfst::ApproxZero (fst::Log64Weight weight, fst::Log64Weight approx_zero=kApproxZeroWeight)
 
bool sfst::ApproxZero (fst::SignedLog64Weight weight, fst::Log64Weight pos_approx_zero=kApproxZeroWeight, fst::Log64Weight neg_approx_zero=10.0)
 

Variables

const fst::Log64Weight sfst::kApproxZeroWeight = 99.0