#include <ChartTrellisPath.h>

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 |
Definition at line 42 of file ChartTrellisPath.h.
| Moses::ChartTrellisPath::ChartTrellisPath | ( | const ChartHypothesis & | hypo | ) |
Definition at line 32 of file ChartTrellisPath.cpp.
| Moses::ChartTrellisPath::ChartTrellisPath | ( | const ChartTrellisDetour & | detour | ) |
Definition at line 40 of file ChartTrellisPath.cpp.
References CHECK, Moses::ChartTrellisNode::GetHypothesis(), Moses::ChartTrellisDetour::GetReplacementHypo(), Moses::ChartHypothesis::GetScoreBreakdown(), Moses::ChartTrellisDetour::GetSubstitutedNode(), Moses::ScoreComponentCollection::GetWeightedScore(), Moses::ScoreComponentCollection::MinusEquals(), and Moses::ScoreComponentCollection::PlusEquals().

| Moses::ChartTrellisPath::~ChartTrellisPath | ( | ) |
Definition at line 53 of file ChartTrellisPath.cpp.
| 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().

| Phrase Moses::ChartTrellisPath::GetOutputPhrase | ( | ) | const |
Definition at line 58 of file ChartTrellisPath.cpp.
References GetFinalNode(), and Moses::ChartTrellisNode::GetOutputPhrase().
Referenced by MosesChartCmd::IOWrapper::OutputNBestList().


| const ScoreComponentCollection& Moses::ChartTrellisPath::GetScoreBreakdown | ( | ) | const [inline] |
returns detailed component scores
Definition at line 66 of file ChartTrellisPath.h.
Referenced by MosesChartCmd::IOWrapper::OutputNBestList().

| 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().

1.5.9