1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-12-29 08:54:43 +00:00

Hadrons: code cleaning

This commit is contained in:
2016-05-12 12:49:49 +01:00
parent 3d75e0f0d1
commit 5c06e89d69
4 changed files with 14 additions and 10 deletions

View File

@@ -726,7 +726,7 @@ std::vector<std::vector<T>> Graph<T>::allTopoSort(void)
}
// build depedency matrix from topological sorts ///////////////////////////////
// complexity: can be V!
// complexity: something like O(V^2*log(V!))
template <typename T>
std::map<T, std::map<T, bool>>
makeDependencyMatrix(const std::vector<std::vector<T>> &topSort)