17 lines
371 B
C++
17 lines
371 B
C++
#ifndef H_DD59527C0C7B481DBB78E4BCF068E1CA
|
|
#define H_DD59527C0C7B481DBB78E4BCF068E1CA
|
|
|
|
#include <ranges>
|
|
#include <vector>
|
|
|
|
template <typename NodeType>
|
|
struct GraphPath
|
|
{
|
|
std::vector<NodeType> path;
|
|
};
|
|
|
|
template <typename NodeType>
|
|
GraphPath<NodeType> breadthSearch(const NodeIterable &nodes, const EdgeIterable &edges);
|
|
|
|
#endif //H_DD59527C0C7B481DBB78E4BCF068E1CA
|