Moses::Syntax::S2T::PChart Class Reference

#include <PChart.h>

List of all members.


struct  Cell
struct  CompressedItem

Public Types

typedef std::vector
< std::vector< CompressedItem > > 

Public Member Functions

 PChart (std::size_t width, bool maintainCompressedChart)
 ~PChart ()
std::size_t GetWidth () const
const CellGetCell (std::size_t start, std::size_t end) const
PVertexAddVertex (const PVertex &v)
const CompressedMatrixGetCompressedMatrix (std::size_t start) const

Detailed Description

Definition at line 20 of file PChart.h.

Member Typedef Documentation

Definition at line 38 of file PChart.h.

Constructor & Destructor Documentation

Moses::Syntax::S2T::PChart::PChart ( std::size_t  width,
bool  maintainCompressedChart 

Definition at line 12 of file PChart.cpp.

References Moses::FactorCollection::Instance().

Here is the call graph for this function:

Moses::Syntax::S2T::PChart::~PChart (  ) 

Definition at line 27 of file PChart.cpp.

Member Function Documentation

PVertex& Moses::Syntax::S2T::PChart::AddVertex ( const PVertex v  )  [inline]

const Cell& Moses::Syntax::S2T::PChart::GetCell ( std::size_t  start,
std::size_t  end 
) const [inline]

Definition at line 48 of file PChart.h.

Referenced by Moses::Syntax::S2T::TailLatticeBuilder::Build().

Here is the caller graph for this function:

const CompressedMatrix& Moses::Syntax::S2T::PChart::GetCompressedMatrix ( std::size_t  start  )  const [inline]

Definition at line 77 of file PChart.h.

std::size_t Moses::Syntax::S2T::PChart::GetWidth (  )  const [inline]

Definition at line 44 of file PChart.h.

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

Generated on Thu Jul 6 00:34:03 2017 for Moses by  doxygen 1.5.9