Cambridge SMT System
ucam::hifst::MakeWeightHifst< Arc > Struct Template Reference

#include <task.hifst.makeweights.hpp>

Public Types

typedef Arc::Weight Weight
 

Public Member Functions

 MakeWeightHifst (const ucam::util::RegistryPO &rg)
 
Weight operator() (float const weight) const
 
Weight operator() (Weight const &weight) const
 
Weight operator() (float const weight, unsigned) const
 
void update ()
 

Detailed Description

template<class Arc>
struct ucam::hifst::MakeWeightHifst< Arc >

Definition at line 10 of file task.hifst.makeweights.hpp.

Member Typedef Documentation

template<class Arc>
typedef Arc::Weight ucam::hifst::MakeWeightHifst< Arc >::Weight

Definition at line 11 of file task.hifst.makeweights.hpp.

Constructor & Destructor Documentation

template<class Arc>
ucam::hifst::MakeWeightHifst< Arc >::MakeWeightHifst ( const ucam::util::RegistryPO rg)
inlineexplicit

Definition at line 12 of file task.hifst.makeweights.hpp.

Member Function Documentation

template<class Arc>
Weight ucam::hifst::MakeWeightHifst< Arc >::operator() ( float const  weight) const
inline

Definition at line 16 of file task.hifst.makeweights.hpp.

template<class Arc>
Weight ucam::hifst::MakeWeightHifst< Arc >::operator() ( Weight const &  weight) const
inline

Definition at line 19 of file task.hifst.makeweights.hpp.

template<class Arc>
Weight ucam::hifst::MakeWeightHifst< Arc >::operator() ( float const  weight,
unsigned   
) const
inline

Definition at line 22 of file task.hifst.makeweights.hpp.

template<class Arc>
void ucam::hifst::MakeWeightHifst< Arc >::update ( )
inline

Definition at line 26 of file task.hifst.makeweights.hpp.


The documentation for this struct was generated from the following file: