From 8c04650caf811f2726e6629c8c442b28d421fe35 Mon Sep 17 00:00:00 2001 From: John Breaux Date: Sat, 23 Apr 2022 00:02:06 -0500 Subject: [PATCH] Main: Print whether or not graph is reducible --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index 6dc095f..8b9b0d2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -19,6 +19,7 @@ int main(int argc, char** argv) { g.print(); // 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 return 0;