templated Mapper that modifies weights over an FST, passing through the other values of the arc. This mapper is to be combined with any functor that accepts Arc::Weight as a unique parameter for operator () and returns Arc::Weight. The functor itself implements the mapping details, e.g. see lexicographic unit tests
More...
#include <fstutils.mapper.hpp>
|
WeightMakerFunctorT const & | mw_ |
| Specialized functor that modifies arc weights. More...
|
|
template<class Arc, class WeightMakerFunctorT>
class fst::GenericWeightAutoMapper< Arc, WeightMakerFunctorT >
templated Mapper that modifies weights over an FST, passing through the other values of the arc. This mapper is to be combined with any functor that accepts Arc::Weight as a unique parameter for operator () and returns Arc::Weight. The functor itself implements the mapping details, e.g. see lexicographic unit tests
Definition at line 32 of file fstutils.mapper.hpp.
template<class Arc , class WeightMakerFunctorT >
template<class Arc , class WeightMakerFunctorT >
template<class Arc , class WeightMakerFunctorT >
template<class Arc , class WeightMakerFunctorT >
Takes arc as input parameter and returns modified arc.
Definition at line 40 of file fstutils.mapper.hpp.
template<class Arc , class WeightMakerFunctorT >
template<class Arc , class WeightMakerFunctorT >
template<class Arc , class WeightMakerFunctorT >
The documentation for this class was generated from the following file: