Remove cycles

This commit is contained in:
Guilherme Werner
2023-06-18 12:22:04 -03:00
parent 84b9021b22
commit 345111b01e
2 changed files with 6 additions and 5 deletions

View File

@ -116,6 +116,9 @@ Graph *Graph::ToTransitiveClosure()
}
}
cout << "TC:" << endl;
Graph::PrintAdjacencyMatrix(closure);
return new Graph(closure, closure.size());
}