The abstract base class for search functions. More...
#include <bgrl_search_func.h>
Public Member Functions | |
bgrl_search_func (const bgrl_vertex_sptr &init_vertex=NULL) | |
bgrl_search_func (bgrl_search_func const &f) | |
~bgrl_search_func () | |
bgrl_vertex_sptr | curr_vertex () const |
virtual bgrl_edge_sptr | next_vertex ()=0 |
Returns the edge to the next vertex in the search. | |
void | ref () |
void | unref () |
int | get_references () const |
bool | is_referenced () const |
Protected Attributes | |
bgrl_vertex_sptr | curr_vertex_ |
The abstract base class for search functions.
Definition at line 23 of file bgrl_search_func.h.
bgrl_search_func::bgrl_search_func | ( | const bgrl_vertex_sptr & | init_vertex = NULL | ) | [inline] |
Definition at line 27 of file bgrl_search_func.h.
bgrl_search_func::bgrl_search_func | ( | bgrl_search_func const & | f | ) | [inline] |
Definition at line 31 of file bgrl_search_func.h.
bgrl_search_func::~bgrl_search_func | ( | ) | [inline] |
Definition at line 35 of file bgrl_search_func.h.
bgrl_vertex_sptr bgrl_search_func::curr_vertex | ( | ) | const [inline] |
Definition at line 37 of file bgrl_search_func.h.
virtual bgrl_edge_sptr bgrl_search_func::next_vertex | ( | ) | [pure virtual] |
Returns the edge to the next vertex in the search.
Implemented in bgrl_depth_search, and bgrl_breadth_search.
bgrl_vertex_sptr bgrl_search_func::curr_vertex_ [protected] |
Definition at line 43 of file bgrl_search_func.h.