Moses::ChartTrellisPath Class Reference

#include <ChartTrellisPath.h>

Collaboration diagram for Moses::ChartTrellisPath:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ChartTrellisPath (const ChartHypothesis &hypo)
 ChartTrellisPath (const ChartTrellisDetour &detour)
 ~ChartTrellisPath ()
const ChartTrellisNode & GetFinalNode () const
const ChartTrellisNode * GetDeviationPoint () const
float GetTotalScore () const
 get score for this path throught trellis
Phrase GetOutputPhrase () const
const ScoreComponentCollection & GetScoreBreakdown () const


Detailed Description

1 path through the output hypergraph The class hold the final node in the path used for constructing n-best list in chart decoding. Each node hold it's own children. Also contains the total score and score breakdown for this path.

Definition at line 42 of file ChartTrellisPath.h.


Constructor & Destructor Documentation

Moses::ChartTrellisPath::ChartTrellisPath ( const ChartHypothesis &  hypo  ) 

Definition at line 32 of file ChartTrellisPath.cpp.

Moses::ChartTrellisPath::ChartTrellisPath ( const ChartTrellisDetour &  detour  ) 

Moses::ChartTrellisPath::~ChartTrellisPath (  ) 

Definition at line 53 of file ChartTrellisPath.cpp.


Member Function Documentation

const ChartTrellisNode* Moses::ChartTrellisPath::GetDeviationPoint (  )  const [inline]

Definition at line 54 of file ChartTrellisPath.h.

const ChartTrellisNode& Moses::ChartTrellisPath::GetFinalNode (  )  const [inline]

Definition at line 50 of file ChartTrellisPath.h.

Referenced by Moses::ChartTrellisNode::ChartTrellisNode(), GetOutputPhrase(), and MosesChartCmd::IOWrapper::OutputNBestList().

Here is the caller graph for this function:

Phrase Moses::ChartTrellisPath::GetOutputPhrase (  )  const

Definition at line 58 of file ChartTrellisPath.cpp.

References GetFinalNode(), and Moses::ChartTrellisNode::GetOutputPhrase().

Referenced by MosesChartCmd::IOWrapper::OutputNBestList().

Here is the call graph for this function:

Here is the caller graph for this function:

const ScoreComponentCollection& Moses::ChartTrellisPath::GetScoreBreakdown (  )  const [inline]

returns detailed component scores

Definition at line 66 of file ChartTrellisPath.h.

Referenced by MosesChartCmd::IOWrapper::OutputNBestList().

Here is the caller graph for this function:

float Moses::ChartTrellisPath::GetTotalScore (  )  const [inline]

get score for this path throught trellis

Definition at line 59 of file ChartTrellisPath.h.

Referenced by MosesChartCmd::IOWrapper::OutputNBestList().

Here is the caller graph for this function:


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

Generated on Thu Jun 4 00:32:03 2015 for Moses by  doxygen 1.5.9