FST  openfst-1.8.3
OpenFst Library
Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
weight.h File Reference
#include <cctype>
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <ios>
#include <iostream>
#include <istream>
#include <ostream>
#include <sstream>
#include <string>
#include <type_traits>
#include <utility>
#include <fst/compat.h>
#include <fst/log.h>
#include <fst/util.h>
Include dependency graph for weight.h:

Go to the source code of this file.

Classes

struct  fst::NaturalLess< W >
 
class  fst::Adder< Weight >
 
struct  fst::WeightConvert< W1, W2 >
 
struct  fst::WeightConvert< W, W >
 
struct  fst::WeightGenerate< W >
 
class  fst::internal::CompositeWeightIO
 
class  fst::CompositeWeightWriter
 
class  fst::CompositeWeightReader
 

Namespaces

 fst
 
 fst::internal
 

Typedefs

template<class W >
using fst::IsIdempotent = std::bool_constant<(W::Properties()&kIdempotent)!=0 >
 
template<class W >
using fst::IsPath = std::bool_constant<(W::Properties()&kPath)!=0 >
 

Enumerations

enum  fst::DivideType { fst::DIVIDE_LEFT, fst::DIVIDE_RIGHT, fst::DIVIDE_ANY }
 

Functions

 DECLARE_string (fst_weight_parentheses)
 
 DECLARE_string (fst_weight_separator)
 
template<class Weight >
Weight fst::Power (const Weight &weight, size_t n)
 

Variables

constexpr float fst::kDelta = 1.0F / 1024.0F
 
constexpr uint64_t fst::kLeftSemiring = 0x0000000000000001ULL
 
constexpr uint64_t fst::kRightSemiring = 0x0000000000000002ULL
 
constexpr uint64_t fst::kSemiring = kLeftSemiring | kRightSemiring
 
constexpr uint64_t fst::kCommutative = 0x0000000000000004ULL
 
constexpr uint64_t fst::kIdempotent = 0x0000000000000008ULL
 
constexpr uint64_t fst::kPath = 0x0000000000000010ULL
 
constexpr size_t fst::kNumRandomWeights = 5
 

Function Documentation

DECLARE_string ( fst_weight_parentheses  )
DECLARE_string ( fst_weight_separator  )