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