num_executions++;
- bool feasible = isfinalfeasible();
- if (feasible || DBG_ENABLED())
- print_summary(feasible);
+ if (isfinalfeasible() || DBG_ENABLED())
+ print_summary();
if ((diverge = model->get_next_backtrack()) == NULL)
return false;
printf("---------------------------------------------------------------------\n");
}
-void ModelChecker::print_summary(bool feasible)
+void ModelChecker::print_summary()
{
printf("\n");
printf("Number of executions: %d\n", num_executions);
scheduler->print();
- if (!feasible)
+ if (!isfinalfeasible())
printf("INFEASIBLE EXECUTION!\n");
print_list(action_trace);
printf("\n");
void check_current_action(void);
- /**
- * Prints an execution summary with trace information.
- * @param feasible Formats outputting according to whether or not the
- * current trace is feasible. Defaults to feasible = true.
- */
- void print_summary(bool feasible = true);
+ /** Prints an execution summary with trace information. */
+ void print_summary();
Thread * schedule_next_thread();