BFS

template<class G>
class BFS

Public Functions

inline BFS(const G &graph, const std::vector<int> startVertice)
inline BFS(const G &graph, const int startVertex)
inline int distTo(const int vertex) const

Private Members

std::vector<int> m_dists