This group contains the common graph search algorithms, namely breadth-first search (BFS) and depth-first search (DFS) [6].
Files | |
file | bfs.h |
BFS algorithm. | |
file | dfs.h |
DFS algorithm. | |
file | max_cardinality_search.h |
Maximum cardinality search in undirected digraphs. | |
Functions | |
template<class GR > | |
BfsWizard< BfsWizardBase< GR > > | bfs (const GR &digraph) |
Function-type interface for BFS algorithm. | |
template<class GR > | |
DfsWizard< DfsWizardBase< GR > > | dfs (const GR &digraph) |
Function-type interface for DFS algorithm. | |
BfsWizard<BfsWizardBase<GR> > lemon::bfs | ( | const GR & | digraph | ) |
Function-type interface for BFS algorithm.
This function also has several named parameters, they are declared as the members of class BfsWizard. The following examples show how to use these parameters.
DfsWizard<DfsWizardBase<GR> > lemon::dfs | ( | const GR & | digraph | ) |
Function-type interface for DFS algorithm.
This function also has several named parameters, they are declared as the members of class DfsWizard. The following examples show how to use these parameters.