Cambridge SMT System
ucam::hifst::RulesToWeightsMapperObject Struct Reference

#include <main-run.rules2weights.hpp>

Collaboration diagram for ucam::hifst::RulesToWeightsMapperObject:

Public Types

typedef TupleArc32 FromArc
 
typedef TupleArc32 ToArc
 
typedef ToArc::Weight Weight
 
typedef ucam::hifst::RuleIdsToSparseWeightLatsData::WeightsTableIt WeightsTableIt
 

Public Member Functions

 RulesToWeightsMapperObject (ucam::hifst::RuleIdsToSparseWeightLatsData<> &d, unsigned lmOffset)
 
ToArc operator() (FromArc const &arc) const
 

Public Attributes

ucam::hifst::RuleIdsToSparseWeightLatsDatad_
 
unsigned lmOffset_
 

Detailed Description

Definition at line 28 of file main-run.rules2weights.hpp.

Member Typedef Documentation

Definition at line 31 of file main-run.rules2weights.hpp.

Constructor & Destructor Documentation

ucam::hifst::RulesToWeightsMapperObject::RulesToWeightsMapperObject ( ucam::hifst::RuleIdsToSparseWeightLatsData<> &  d,
unsigned  lmOffset 
)
inlineexplicit

Definition at line 35 of file main-run.rules2weights.hpp.

Member Function Documentation

ToArc ucam::hifst::RulesToWeightsMapperObject::operator() ( FromArc const &  arc) const
inline

Definition at line 41 of file main-run.rules2weights.hpp.

Member Data Documentation

ucam::hifst::RuleIdsToSparseWeightLatsData* ucam::hifst::RulesToWeightsMapperObject::d_

Definition at line 32 of file main-run.rules2weights.hpp.

unsigned ucam::hifst::RulesToWeightsMapperObject::lmOffset_

Definition at line 33 of file main-run.rules2weights.hpp.


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