Main: Print whether or not graph is reducible

This commit is contained in:
John 2022-04-23 00:02:06 -05:00
parent bddc486aeb
commit 8c04650caf

View File

@ -19,6 +19,7 @@ int main(int argc, char** argv) {
g.print(); g.print();
// TODO: Implement graph reduction and/or knot detection // TODO: Implement graph reduction and/or knot detection
printf("Graph is %s\n", g.reducible()?"not reducible (deadlock!)":"reducible (no deadlock!)");//?
// TODO: Destroy the graph created by read_file // TODO: Destroy the graph created by read_file
return 0; return 0;