|
// starting from tile number s0, find a path to tile number t
|
|
// starting from tile number s0, find a path to tile number t
|
|
// return true if such a path exists, false otherwise
|
|
// return true if such a path exists, false otherwise
|
|
- bool dfs(unsigned int s0, unsigned int target, list<unsigned int>& path, list<unsigned int>& discovered)
|
|
+ const bool dfs(unsigned int s0, unsigned int target, list<unsigned int>& path, list<unsigned int>& discovered)
|