Cambridge SMT System
ucam::hifst::CYKbackpointers Class Reference

functor that provides cyk backpointers More...

#include <data.cykparser.cykbackpointers.hpp>

Public Member Functions

const cykparser_ruledependencies_toperator() (const unsigned cc, const unsigned x, const unsigned y)
 
void Add (const unsigned cc, const unsigned x, const unsigned y, const cykparser_ruledependencies_t &coords)
 Add all the set of backpointers to the grid. More...
 
void Add (const unsigned cc, const unsigned x, const unsigned y, const cykparser_rulebpcoordinates_t &coords)
 Add set of backpointers to the grid. More...
 
std::size_t size ()
 Size of the backpointer structure (number of cc,x,y elements inserted). More...
 
void reset ()
 Delete cyk backpointers. More...
 

Detailed Description

functor that provides cyk backpointers

Definition at line 31 of file data.cykparser.cykbackpointers.hpp.

Member Function Documentation

void ucam::hifst::CYKbackpointers::Add ( const unsigned  cc,
const unsigned  x,
const unsigned  y,
const cykparser_ruledependencies_t coords 
)
inline

Add all the set of backpointers to the grid.

Definition at line 47 of file data.cykparser.cykbackpointers.hpp.

Here is the caller graph for this function:

void ucam::hifst::CYKbackpointers::Add ( const unsigned  cc,
const unsigned  x,
const unsigned  y,
const cykparser_rulebpcoordinates_t coords 
)
inline

Add set of backpointers to the grid.

Definition at line 54 of file data.cykparser.cykbackpointers.hpp.

const cykparser_ruledependencies_t& ucam::hifst::CYKbackpointers::operator() ( const unsigned  cc,
const unsigned  x,
const unsigned  y 
)
inline

Definition at line 41 of file data.cykparser.cykbackpointers.hpp.

void ucam::hifst::CYKbackpointers::reset ( )
inline

Delete cyk backpointers.

Definition at line 66 of file data.cykparser.cykbackpointers.hpp.

Here is the caller graph for this function:

std::size_t ucam::hifst::CYKbackpointers::size ( )
inline

Size of the backpointer structure (number of cc,x,y elements inserted).

Definition at line 61 of file data.cykparser.cykbackpointers.hpp.

Here is the caller graph for this function:


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