Moses::PDTAimp::State Struct Reference

#include <PDTAimp.h>

Collaboration diagram for Moses::PDTAimp::State:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 State ()
 State (Position b, Position e, const PPtr &v, const std::vector< float > &sv=std::vector< float >(0))
 State (Range const &r, const PPtr &v, const std::vector< float > &sv=std::vector< float >(0))
Position begin () const
Position end () const
std::vector< float > GetScores () const

Public Attributes

PPtr ptr
Range range
std::vector< float > scores
Phrase src

Friends

std::ostream & operator<< (std::ostream &out, State const &s)


Detailed Description

Definition at line 84 of file PDTAimp.h.


Constructor & Destructor Documentation

Moses::PDTAimp::State::State (  )  [inline]

Definition at line 90 of file PDTAimp.h.

Moses::PDTAimp::State::State ( Position  b,
Position  e,
const PPtr v,
const std::vector< float > &  sv = std::vector<float>(0) 
) [inline]

Definition at line 91 of file PDTAimp.h.

Moses::PDTAimp::State::State ( Range const &  r,
const PPtr v,
const std::vector< float > &  sv = std::vector<float>(0) 
) [inline]

Definition at line 93 of file PDTAimp.h.


Member Function Documentation

Position Moses::PDTAimp::State::begin (  )  const [inline]

Definition at line 96 of file PDTAimp.h.

References range.

Position Moses::PDTAimp::State::end (  )  const [inline]

Definition at line 99 of file PDTAimp.h.

References range.

std::vector<float> Moses::PDTAimp::State::GetScores (  )  const [inline]

Definition at line 102 of file PDTAimp.h.

References scores.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
State const &  s 
) [friend]

Definition at line 106 of file PDTAimp.h.


Member Data Documentation

Definition at line 85 of file PDTAimp.h.

Definition at line 86 of file PDTAimp.h.

Referenced by begin(), and end().

std::vector<float> Moses::PDTAimp::State::scores

Definition at line 87 of file PDTAimp.h.

Referenced by GetScores().

Definition at line 88 of file PDTAimp.h.


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

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