Skip to content
/ sat2csv Public

A tool for extracting data from SAT solvers or bounded model checkers output into csv format

License

Notifications You must be signed in to change notification settings

muhos/sat2csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License: MIT Build Status

sat2csv

A C++ tool for extracting data from SAT solvers or bounded model checkers output into csv format. It supports various solvers including ParaFROST or MiniSat and the bounded model checker CBMC. Information like the running time, Satisfiability result or solving statistics will be parsed into a comma-separated file.

Input

As input, it reads a log file generated by the solver if the file had the prefix "result_" and the extension ".txt". More prefixes can be supported.

Output

A table in comma-separated CSV format.

Example

Run the tool on the test folder (contains logs from parafrost and minisat solvers) using the commad: sat2csv test -s test_results

where "test" is the directory name containing the log files, "-s" instructs the tool to extract a SAT solver information, and "test_results" is the name of the CSV file. The output file produced will look like this:

CNF Simplify time (s) Solve time (s) Sat.
01-integer-programming-20-30-40 4.242 3201.933 S
9dlx_vliw_at_b_iq1 0 19.5243 U

The "S" and "U" letters denote "SATISFIABLE" and "UNSATISFIABLE" respectively.

Install

Run compile.sh inside sat2csv on a Linux-based machine or compile the sources on Windows with any C/C++ compiler to produce the binary sat2csv. For more help on the available options use "-h".

About

A tool for extracting data from SAT solvers or bounded model checkers output into csv format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published