Commit cb9177b2 authored by Yoann Dufresne's avatar Yoann Dufresne

add max coverage value to the print

parent ff5bf7f0
......@@ -60,9 +60,10 @@ class Optimizer:
best_score = len(coverage)
last_increase_node = current_node
if verbose:
print(f"New best: {len(best_path)} {best_score}")
print(f"New best: {len(best_path)} {best_score} / {max_cov}")
if len(coverage) == max_cov:
print("Max coverage")
return best_path
else:
nb_steps_since_last_score_up += 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment