Cambridge SMT System
ucam::hifst::SingleThreadedHifstTask< DataT, ArcT > Class Template Reference

Full single-threaded Translation system. More...

#include <main-run.hifst.hpp>

Inheritance diagram for ucam::hifst::SingleThreadedHifstTask< DataT, ArcT >:
Collaboration diagram for ucam::hifst::SingleThreadedHifstTask< DataT, ArcT >:

Public Member Functions

 SingleThreadedHifstTask (const ucam::util::RegistryPO &rg)
 Constructor. More...
 
bool run (Data &d)
 Translates an input sentence (single threaded) More...
 
bool operator() ()
 Runs using its own internal data object. More...
 
- Public Member Functions inherited from ucam::util::TaskInterface< DataT< ArcT > >
 TaskInterface ()
 Constructor. More...
 
virtual ~TaskInterface ()
 
bool chainrun (DataT< ArcT > &d)
 Implements chain of responsability. Calls run method and, if there is another task, call its run method too. More...
 
bool operator() (DataT< ArcT > &d)
 
TaskInterfaceoperator() (TaskInterface *t)
 
TaskInterfaceappendTask (TaskInterface *t)
 Appends a task class. If there is no task, append here, otherwise delegate in next task. More...
 
TaskInterfacegetTask ()
 Return appended task. More...
 
TaskInterfacenext ()
 

Detailed Description

template<template< class > class DataT, class ArcT>
class ucam::hifst::SingleThreadedHifstTask< DataT, ArcT >

Full single-threaded Translation system.

Definition at line 38 of file main-run.hifst.hpp.

Constructor & Destructor Documentation

template<template< class > class DataT, class ArcT >
ucam::hifst::SingleThreadedHifstTask< DataT, ArcT >::SingleThreadedHifstTask ( const ucam::util::RegistryPO rg)
inline

Constructor.

Parameters
rgpointer to RegistryPO object with all parsed parameters.

Definition at line 71 of file main-run.hifst.hpp.

Here is the call graph for this function:

Member Function Documentation

template<template< class > class DataT, class ArcT >
bool ucam::hifst::SingleThreadedHifstTask< DataT, ArcT >::operator() ( )
inline

Runs using its own internal data object.

Definition at line 177 of file main-run.hifst.hpp.

Here is the call graph for this function:

template<template< class > class DataT, class ArcT >
bool ucam::hifst::SingleThreadedHifstTask< DataT, ArcT >::run ( Data &  d)
inlinevirtual

Translates an input sentence (single threaded)

Parameters
dData object that communicates all the tasks.

Implements ucam::util::TaskInterface< DataT< ArcT > >.

Definition at line 94 of file main-run.hifst.hpp.

Here is the call graph for this function:

Here is the caller graph for this function:


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