Cambridge SMT System
fst::MultiUnionReplace< Arc > Class Template Reference

This class creates the Union of an arbitrarily large number of fsts. This implementation uses one RTN to generate the union. More...

#include <fstutils.multiunion.hpp>

Public Member Functions

 MultiUnionReplace ()
 Constructor, initializes the head fst of the RTN. More...
 
void Add (Fst< Arc > const *fst)
 Adds an fst to the list. More...
 
VectorFst< Arc > * operator() ()
 

Detailed Description

template<class Arc>
class fst::MultiUnionReplace< Arc >

This class creates the Union of an arbitrarily large number of fsts. This implementation uses one RTN to generate the union.

Definition at line 82 of file fstutils.multiunion.hpp.

Constructor & Destructor Documentation

template<class Arc>
fst::MultiUnionReplace< Arc >::MultiUnionReplace ( )
inline

Constructor, initializes the head fst of the RTN.

Definition at line 94 of file fstutils.multiunion.hpp.

Member Function Documentation

template<class Arc>
void fst::MultiUnionReplace< Arc >::Add ( Fst< Arc > const *  fst)
inline

Adds an fst to the list.

Parameters
fstPointer to another fst to be unioned with previously stored ones.

Keep in scope the pointers

Add pair labels for Replace operation

Definition at line 109 of file fstutils.multiunion.hpp.

Here is the caller graph for this function:

template<class Arc>
VectorFst<Arc>* fst::MultiUnionReplace< Arc >::operator() ( )
inline

Definition at line 124 of file fstutils.multiunion.hpp.


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