#include <edge_generator.hh>
Public Member Functions | |
EdgeGenerator () | |
PartialEdge | AllocateEdge (Arity arity) |
void | AddEdge (PartialEdge edge) |
bool | Empty () const |
template<class Model > | |
PartialEdge | Pop (Context< Model > &context) |
template<class Model , class Output > | |
void | Search (Context< Model > &context, Output &output) |
Definition at line 19 of file edge_generator.hh.
search::EdgeGenerator::EdgeGenerator | ( | ) | [inline] |
Definition at line 21 of file edge_generator.hh.
void search::EdgeGenerator::AddEdge | ( | PartialEdge | edge | ) | [inline] |
Definition at line 27 of file edge_generator.hh.
PartialEdge search::EdgeGenerator::AllocateEdge | ( | Arity | arity | ) | [inline] |
Definition at line 23 of file edge_generator.hh.
bool search::EdgeGenerator::Empty | ( | ) | const [inline] |
Definition at line 31 of file edge_generator.hh.
PartialEdge search::EdgeGenerator::Pop | ( | Context< Model > & | context | ) | [inline] |
Definition at line 47 of file edge_generator.cc.
References search::PartialEdge::Between(), search::PartialVertex::Bound(), search::PartialVertex::Niceness(), search::PartialEdge::NT(), search::Header::SetNote(), search::Header::SetRange(), and search::Header::SetScore().
Referenced by Search().
void search::EdgeGenerator::Search | ( | Context< Model > & | context, | |
Output & | output | |||
) | [inline] |
Definition at line 36 of file edge_generator.hh.
References Pop(), search::ContextBase::PopLimit(), and search::Header::Valid().