FST  openfst-1.8.3
OpenFst Library
Classes | Namespaces | Functions
sparse-power-weight.h File Reference
#include <climits>
#include <cstddef>
#include <cstdint>
#include <random>
#include <string>
#include <fst/sparse-tuple-weight.h>
#include <fst/weight.h>
Include dependency graph for sparse-power-weight.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fst::SparsePowerWeight< W, K >
 
class  fst::WeightGenerate< SparsePowerWeight< W, K > >
 

Namespaces

 fst
 

Functions

template<class W , class K , class M >
SparsePowerWeight< W, K > fst::SparsePowerWeightMap (const SparsePowerWeight< W, K > &w1, const SparsePowerWeight< W, K > &w2, const M &operator_mapper)
 
template<class W , class K >
SparsePowerWeight< W, K > fst::Plus (const SparsePowerWeight< W, K > &w1, const SparsePowerWeight< W, K > &w2)
 
template<class W , class K >
SparsePowerWeight< W, K > fst::Minus (const SparsePowerWeight< W, K > &w1, const SparsePowerWeight< W, K > &w2)
 
template<class W , class K >
SparsePowerWeight< W, K > fst::Times (const SparsePowerWeight< W, K > &w1, const SparsePowerWeight< W, K > &w2)
 
template<class W , class K >
SparsePowerWeight< W, K > fst::Divide (const SparsePowerWeight< W, K > &w1, const SparsePowerWeight< W, K > &w2, DivideType type=DIVIDE_ANY)
 
template<class W , class K >
const W & fst::DotProduct (const SparsePowerWeight< W, K > &w1, const SparsePowerWeight< W, K > &w2)
 
template<class W , class K >
bool fst::ApproxEqual (const SparsePowerWeight< W, K > &w1, const SparsePowerWeight< W, K > &w2, float delta=kDelta)
 
template<class W , class K >
SparsePowerWeight< W, K > fst::Times (const W &k, const SparsePowerWeight< W, K > &w2)
 
template<class W , class K >
SparsePowerWeight< W, K > fst::Times (const SparsePowerWeight< W, K > &w1, const W &k)
 
template<class W , class K >
SparsePowerWeight< W, K > fst::Divide (const SparsePowerWeight< W, K > &w1, const W &k, DivideType divide_type=DIVIDE_ANY)