#include <vertex.hh>
Public Member Functions | |
VertexNode () | |
void | InitRoot () |
void | AppendHypothesis (const NBestComplete &best) |
void | AppendHypothesis (const HypoState &hypo) |
void | FinishRoot () |
void | FinishedAppending (const unsigned char common_left, const unsigned char common_right) |
void | BuildExtend () |
bool | Empty () const |
bool | Complete () const |
const lm::ngram::ChartState & | State () const |
bool | RightFull () const |
unsigned char | Niceness () const |
Score | Bound () const |
const History | End () const |
VertexNode & | operator[] (size_t index) |
size_t | Size () const |
Definition at line 24 of file vertex.hh.
void search::VertexNode::AppendHypothesis | ( | const HypoState & | hypo | ) | [inline] |
void search::VertexNode::AppendHypothesis | ( | const NBestComplete & | best | ) | [inline] |
Definition at line 38 of file vertex.hh.
References search::NBestComplete::history, search::HypoState::history, search::NBestComplete::score, search::HypoState::score, search::HypoState::state, and search::NBestComplete::state.
Referenced by search::RootVertexGenerator< Output >::FinishedSearch(), and search::VertexGenerator< Output >::FinishedSearch().
Score search::VertexNode::Bound | ( | ) | const [inline] |
Definition at line 73 of file vertex.hh.
Referenced by search::Vertex::Bound(), and search::PartialVertex::Bound().
void search::VertexNode::BuildExtend | ( | ) |
Definition at line 176 of file vertex.cc.
References lm::ngram::ChartState::left, and lm::ngram::ChartState::right.
Referenced by search::PartialVertex::Split().
bool search::VertexNode::Complete | ( | ) | const [inline] |
Definition at line 62 of file vertex.hh.
Referenced by search::PartialVertex::Complete().
bool search::VertexNode::Empty | ( | ) | const [inline] |
Definition at line 58 of file vertex.hh.
Referenced by search::Vertex::Empty(), and search::PartialVertex::Empty().
const History search::VertexNode::End | ( | ) | const [inline] |
Definition at line 78 of file vertex.hh.
Referenced by search::PartialVertex::End().
void search::VertexNode::FinishedAppending | ( | const unsigned char | common_left, | |
const unsigned char | common_right | |||
) |
Definition at line 144 of file vertex.cc.
References lm::ngram::ChartState::left, and lm::ngram::ChartState::right.
void search::VertexNode::FinishRoot | ( | ) |
Definition at line 122 of file vertex.cc.
References lm::ngram::ChartState::left, lm::ngram::ChartState::right, and sort().
Referenced by search::RootVertexGenerator< Output >::FinishedSearch(), and search::VertexGenerator< Output >::FinishedSearch().
void search::VertexNode::InitRoot | ( | ) | [inline] |
Definition at line 28 of file vertex.hh.
Referenced by search::RootVertexGenerator< Output >::FinishedSearch(), and search::VertexGenerator< Output >::FinishedSearch().
unsigned char search::VertexNode::Niceness | ( | ) | const [inline] |
Definition at line 71 of file vertex.hh.
Referenced by search::PartialVertex::Niceness().
VertexNode& search::VertexNode::operator[] | ( | size_t | index | ) | [inline] |
bool search::VertexNode::RightFull | ( | ) | const [inline] |
Definition at line 68 of file vertex.hh.
Referenced by search::PartialVertex::RightFull().
size_t search::VertexNode::Size | ( | ) | const [inline] |
Definition at line 88 of file vertex.hh.
Referenced by search::PartialVertex::Split().
const lm::ngram::ChartState& search::VertexNode::State | ( | ) | const [inline] |
Definition at line 67 of file vertex.hh.
Referenced by search::PartialVertex::State().