@@ -120,7 +120,7 @@ std::optional<std::ofstream> openFileStat(argparse::ArgumentParser const& progra
120120 {
121121 std::ofstream statistics_stream (*output_file);
122122 statistics_stream << std::setprecision (3 ) << std::fixed;
123- statistics_stream << " File path,Gates before,Gates after,Simplify time" ;
123+ statistics_stream << " File path,Gates before,Gates after,Simplificaton time" ;
124124
125125 // The following statistics is currently supported only for AIG basis.
126126 if (basis == AIG_BASIS)
@@ -219,7 +219,7 @@ void dumpStatistics(
219219 * @param logger Logger instance.
220220 * @param statistics_stream stream for statistics dumping (if provided).
221221 */
222- void simplify (
222+ void simplifier (
223223 std::string const & instance_path,
224224 argparse::ArgumentParser const & program,
225225 csat::Logger& logger,
@@ -308,10 +308,10 @@ void loadDatabases(argparse::ArgumentParser const& program, csat::Logger const&
308308 */
309309int main (int argn, char ** argv)
310310{
311- csat::Logger logger (" Simplify " );
311+ csat::Logger logger (" Simplifier " );
312312
313313 // Set up argument parser.
314- argparse::ArgumentParser program (" simplify " , " 0.1" );
314+ argparse::ArgumentParser program (" simplifier " , " 0.1" );
315315 program.add_argument (" -i" , " --input-path" ).help (" directory with input .BENCH files" );
316316 program.add_argument (" -o" , " --output" ).help (" path to resulting directory" );
317317 program.add_argument (" -s" , " --statistics" ).metavar (" FILE" ).help (" path to file for statistics writing" );
@@ -321,7 +321,7 @@ int main(int argn, char** argv)
321321 .help (" Path to a directory with databases." );
322322
323323 program.add_description (
324- " The Simplify tool provides simplification of boolean circuits provided in\n "
324+ " The Simplifier tool provides simplification of boolean circuits provided in\n "
325325 " one of two bases: `AIG` or `BENCH`. To run simplification one should provide\n "
326326 " an `--input-path` and `--output` parameters: first is a path to the directory\n "
327327 " with boolean circuits, and second is a path where simplified circuits are to\n "
@@ -345,7 +345,7 @@ int main(int argn, char** argv)
345345 " \n "
346346 " Example usage command:\n "
347347 " \n "
348- " ./build/simplify -i input_circuit/ -o result_circuits/ -s statistics.csv\n "
348+ " ./build/simplifier -i input_circuit/ -o result_circuits/ -s statistics.csv\n "
349349 " " );
350350
351351 // Parse provided program arguments.
@@ -379,7 +379,7 @@ int main(int argn, char** argv)
379379
380380 std::string path = instance_path.path ().string ();
381381 logger.info (" Processing benchmark " , path, " ." );
382- simplify (path, program, logger, statistics_stream);
382+ simplifier (path, program, logger, statistics_stream);
383383 }
384384
385385 return 0 ;
0 commit comments