diff options
Diffstat (limited to 'src/prop/minisat/simp/Main.cc')
-rw-r--r-- | src/prop/minisat/simp/Main.cc | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/prop/minisat/simp/Main.cc b/src/prop/minisat/simp/Main.cc index ff0f589cd..675d0ed60 100644 --- a/src/prop/minisat/simp/Main.cc +++ b/src/prop/minisat/simp/Main.cc @@ -30,11 +30,12 @@ OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWA #include "prop/minisat/core/Dimacs.h" #include "prop/minisat/simp/SimpSolver.h" -using namespace Minisat; - //================================================================================================= +namespace CVC4 { +namespace Minisat { + void printStats(Solver& solver) { double cpu_time = cpuTime(); @@ -49,6 +50,8 @@ void printStats(Solver& solver) } + + static Solver* solver; // Terminate by notifying the solver and back out gracefully. This is mainly to have a test-case // for this feature of the Solver as it may take longer than an immediate call to '_exit()'. @@ -64,12 +67,16 @@ static void SIGINT_exit(int signum) { printf("\n"); printf("*** INTERRUPTED ***\n"); } _exit(1); } +} /* CVC4::Minisat namespace */ +} /* CVC4 namespace */ //================================================================================================= // Main: int main(int argc, char** argv) { + using namespace CVC4; + using namespace CVC4::Minisat; try { setUsageHelp("USAGE: %s [options] <input-file> <result-output-file>\n\n where input may be either in plain or gzipped DIMACS.\n"); // printf("This is MiniSat 2.0 beta\n"); |