Caruychen / 42Hive-Lem_in

Integrated smart ant colony transport system
2 stars 0 forks source link

Quiet flag #16

Closed crl-n closed 2 years ago

crl-n commented 2 years ago

Here is a basic implementation for options with a working quiet-flag for you to check out. This PR proposes these changes be merged into solver_integration (+ some printer changes that were previously unmerged).

./lem-in -q silences the parser and the printer. There is one exception to this, the parser comments. The generator always includes a comment saying how many steps were required, so printing those makes it easy to compare how our lem-in is performing. Using the -q flag also makes the program print the steps count of the best pathset found. See below.

image