- lc_timer_stop(timer);
- costs_heur = co_get_copy_costs(co);
- DBG((dbg, LEVEL_1, "HEUR costs: %3d\n", costs_heur));
- copystat_add_heur_time(lc_timer_elapsed_msec(timer));
- copystat_add_heur_costs(costs_heur);
- assert(lower_bound <= costs_heur);
-#endif /* DO_HEUR */
+ ir_timer_stop(timer);
+
+ costs_solved = co_get_copy_costs(co);
+ DBG((dbg, LEVEL_1, "HEUR1 costs: %3d\n", costs_solved));
+ copystat_add_heur_time(ir_timer_elapsed_msec(timer));
+ copystat_add_heur_costs(costs_solved);
+ assert(lower_bound <= costs_solved);
+
+ /* heuristic 2 (Sebastian Hack) */
+ timer = ir_timer_register("heur2", NULL);
+ ir_timer_reset_and_start(timer);
+
+ co_solve_heuristic_new(co);
+
+ ir_timer_stop(timer);
+
+ costs_solved = co_get_copy_costs(co);
+ DBG((dbg, LEVEL_1, "HEUR2 costs: %3d\n", costs_solved));
+ copystat_add_heur_time(ir_timer_elapsed_msec(timer));
+ copystat_add_heur_costs(costs_solved);
+ assert(lower_bound <= costs_solved);
+
+ /* Park & Moon register coalescing (Kimon Hoffmann) */
+ timer = ir_timer_register("park", NULL);
+ ir_timer_reset_and_start(timer);