Refactor: Replace std::map and std::set with unordered versions
This commit is contained in:
@@ -47,8 +47,8 @@ private:
|
||||
std::set<T> S;
|
||||
|
||||
// Maintain in-out bfs trees
|
||||
std::map<T, BreadthFirstTree<T>> In;
|
||||
std::map<T, BreadthFirstTree<T>> Out;
|
||||
std::unordered_map<T, BreadthFirstTree<T>> In;
|
||||
std::unordered_map<T, BreadthFirstTree<T>> Out;
|
||||
};
|
||||
|
||||
template<typename T>
|
||||
|
||||
Reference in New Issue
Block a user