Cambridge SMT System
|
functor that provides cykgrid access methods More...
#include <data.cykparser.cykgrid.hpp>
Public Member Functions | |
const ssgrammar_listofrules_t & | operator() (const uint cc, const uint x, const uint y) |
Get list of grammar rules assigned to (cc,x,y) More... | |
uint | operator() (const uint cc, const uint x, const uint y, const uint rulepos) |
Get a specific rule at (cc,x,y) corresponding to index rulepos. More... | |
void | Add (const uint cc, const uint x, const uint y, const uint ruleidx) |
Add a rule to the cyk grid at (cc,x,y) More... | |
void | reset () |
Clear cyk grid. More... | |
std::size_t | size () |
Return actual size of the cyk grid. More... | |
functor that provides cykgrid access methods
Definition at line 32 of file data.cykparser.cykgrid.hpp.
|
inline |
Add a rule to the cyk grid at (cc,x,y)
Definition at line 52 of file data.cykparser.cykgrid.hpp.
|
inline |
Get list of grammar rules assigned to (cc,x,y)
Definition at line 40 of file data.cykparser.cykgrid.hpp.
|
inline |
Get a specific rule at (cc,x,y) corresponding to index rulepos.
Definition at line 46 of file data.cykparser.cykgrid.hpp.
|
inline |
Clear cyk grid.
Definition at line 59 of file data.cykparser.cykgrid.hpp.
|
inline |
Return actual size of the cyk grid.
Definition at line 63 of file data.cykparser.cykgrid.hpp.