Go to the documentation of this file. 1 #ifndef GRAPH_ANALYSIS_ALGORITHMS_BFS_HPP
2 #define GRAPH_ANALYSIS_ALGORITHMS_BFS_HPP
5 #include "../BaseGraph.hpp"
10 namespace algorithms {
38 std::queue<Vertex::Ptr> mStack;
45 #endif // GRAPH_ANALYSIS_ALGORITHMS_BFS_HPP
shared_ptr< Visitor > Ptr
Definition: Visitor.hpp:20
Main namespace of the graph analysis library.
Definition: BFS.cpp:3
shared_ptr< BaseGraph > Ptr
Definition: BaseGraph.hpp:34
Implementation of Breadth-First-Search ΒΈ
Definition: BFS.hpp:18
shared_ptr< Vertex > Ptr
Definition: Vertex.hpp:22
function1< bool, Edge::Ptr > Skipper
Definition of the EdgeSkipper function.
Definition: Skipper.hpp:9
void run(const Vertex::Ptr &startVertex=Vertex::Ptr())
Definition: BFS.cpp:12
BFS(const BaseGraph::Ptr &graph, const Visitor::Ptr &visitor, Skipper skipper=Skipper())
Definition: BFS.cpp:6