↰ Return to documentation for file (include/networkit/distance/BFS.hpp
)
/*
* BFS.hpp
*
* Created on: Jul 23, 2013
* Author: Henning
*/
#ifndef NETWORKIT_DISTANCE_BFS_HPP_
#define NETWORKIT_DISTANCE_BFS_HPP_
#include <networkit/distance/SSSP.hpp>
namespace NetworKit {
class BFS final : public SSSP {
public:
BFS(const Graph &G, node source, bool storePaths = true,
bool storeNodesSortedByDistance = false, node target = none);
void run() override;
};
} /* namespace NetworKit */
#endif // NETWORKIT_DISTANCE_BFS_HPP_