Main: Print whether or not graph is reducible
This commit is contained in:
parent
bddc486aeb
commit
8c04650caf
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user