Public Member Functions | Protected Attributes
bgrl_search_func Class Reference

The abstract base class for search functions. More...

#include <bgrl_search_func.h>

Inheritance diagram for bgrl_search_func:
Inheritance graph
[legend]

List of all members.

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_

Detailed Description

The abstract base class for search functions.

Definition at line 23 of file bgrl_search_func.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

Definition at line 43 of file bgrl_search_func.h.


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