Moses::PPimp Struct Reference

#include <PrefixTreeMap.h>

Collaboration diagram for Moses::PPimp:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 PPimp (PTF const *x, unsigned i, bool b)
bool isValid () const
bool isRoot () const
PTF const * ptr () const

Public Attributes

PTF const * p
unsigned idx
bool root


Detailed Description

Todo:
How is this used in the pb binary phrase table?

Definition at line 65 of file PrefixTreeMap.h.


Constructor & Destructor Documentation

Moses::PPimp::PPimp ( PTF const *  x,
unsigned  i,
bool  b 
) [inline]

Definition at line 70 of file PrefixTreeMap.h.


Member Function Documentation

bool Moses::PPimp::isRoot (  )  const [inline]

Definition at line 75 of file PrefixTreeMap.h.

References root.

Referenced by Moses::PDTimp::Extend(), Moses::PrefixTreeMap::Extend(), Moses::PrefixTreeMap::GetCandidates(), and Moses::PDTimp::GetTargetCandidates().

Here is the caller graph for this function:

bool Moses::PPimp::isValid (  )  const [inline]

Definition at line 71 of file PrefixTreeMap.h.

References idx, p, root, and Moses::PrefixTreeF< T, D >::size().

Referenced by Moses::PrefixTreeMap::Extend(), Moses::PrefixTreeMap::GetCandidates(), and Moses::PhraseDictionaryTree::PrefixPtr::operator bool().

Here is the call graph for this function:

Here is the caller graph for this function:

PTF const* Moses::PPimp::ptr (  )  const [inline]

Definition at line 78 of file PrefixTreeMap.h.

References p.

Referenced by Moses::PDTimp::Extend(), Moses::PrefixTreeMap::Extend(), Moses::PrefixTreeMap::GetCandidates(), and Moses::PDTimp::GetTargetCandidates().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 66 of file PrefixTreeMap.h.

Referenced by isValid(), and ptr().

Definition at line 68 of file PrefixTreeMap.h.

Referenced by isRoot(), and isValid().


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

Generated on Thu Jul 6 00:33:30 2017 for Moses by  doxygen 1.5.9