MosesTest::MockHypothesisGuard Class Reference

#include <MockHypothesis.h>

Collaboration diagram for MosesTest::MockHypothesisGuard:

Collaboration graph

List of all members.

Public Member Functions

 MockHypothesisGuard (const std::string &sourceSentence, const std::vector< Alignment > &alignments, const std::vector< std::string > &targetSegments)
Moses::Hypothesisoperator* () const
 ~MockHypothesisGuard ()

Detailed Description

Definition at line 44 of file MockHypothesis.h.

Constructor & Destructor Documentation

MosesTest::MockHypothesisGuard::MockHypothesisGuard ( const std::string &  sourceSentence,
const std::vector< Alignment > &  alignments,
const std::vector< std::string > &  targetSegments 

Creates a phrase-based hypothesis.

MosesTest::MockHypothesisGuard::~MockHypothesisGuard (  ) 

Destroy the hypothesis chain

Definition at line 74 of file MockHypothesis.cpp.

References Moses::Hypothesis::GetPrevHypo(), and Moses::RemoveAllInColl().

Here is the call graph for this function:

Member Function Documentation

Moses::Hypothesis* MosesTest::MockHypothesisGuard::operator* (  )  const [inline]

Definition at line 54 of file MockHypothesis.h.

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

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