CBMC
|
Solver Factory. More...
#include "solver_factory.h"
#include <util/cmdline.h>
#include <util/exception_utils.h>
#include <util/exit_codes.h>
#include <util/message.h>
#include <util/options.h>
#include <util/unicode.h>
#include <util/version.h>
#include <goto-symex/solver_hardness.h>
#include <solvers/flattening/bv_dimacs.h>
#include <solvers/prop/prop.h>
#include <solvers/prop/solver_resource_limits.h>
#include <solvers/refinement/bv_refinement.h>
#include <solvers/sat/dimacs_cnf.h>
#include <solvers/sat/external_sat.h>
#include <solvers/sat/satcheck.h>
#include <solvers/smt2_incremental/smt2_incremental_decision_procedure.h>
#include <solvers/smt2_incremental/smt_solver_process.h>
#include <solvers/strings/string_refinement.h>
#include <iostream>
Go to the source code of this file.
Functions | |
static void | emit_solver_warning (message_handlert &message_handler, const std::string &solver) |
Emit a warning for non-existent solver solver via message_handler . More... | |
template<typename SatcheckT > | |
static std::enable_if< !std::is_base_of< hardness_collectort, SatcheckT >::value, std::unique_ptr< SatcheckT > >::type | make_satcheck_prop (message_handlert &message_handler, const optionst &options) |
template<typename SatcheckT > | |
static std::enable_if< std::is_base_of< hardness_collectort, SatcheckT >::value, std::unique_ptr< SatcheckT > >::type | make_satcheck_prop (message_handlert &message_handler, const optionst &options) |
static std::unique_ptr< propt > | get_sat_solver (message_handlert &message_handler, const optionst &options) |
std::unique_ptr< std::ofstream > | open_outfile_and_check (const std::string &filename, message_handlert &message_handler, const std::string &arg_name) |
static void | parse_sat_options (const cmdlinet &cmdline, optionst &options) |
static void | parse_smt2_options (const cmdlinet &cmdline, optionst &options) |
void | parse_solver_options (const cmdlinet &cmdline, optionst &options) |
Parse solver-related command-line parameters in cmdline and set corresponding values in options . More... | |
Solver Factory.
Definition in file solver_factory.cpp.
|
static |
Emit a warning for non-existent solver solver
via message_handler
.
Definition at line 158 of file solver_factory.cpp.
|
static |
Definition at line 203 of file solver_factory.cpp.
|
static |
Definition at line 172 of file solver_factory.cpp.
|
static |
Definition at line 189 of file solver_factory.cpp.
std::unique_ptr<std::ofstream> open_outfile_and_check | ( | const std::string & | filename, |
message_handlert & | message_handler, | ||
const std::string & | arg_name | ||
) |
Definition at line 429 of file solver_factory.cpp.
Definition at line 594 of file solver_factory.cpp.
Definition at line 611 of file solver_factory.cpp.
Parse solver-related command-line parameters in cmdline
and set corresponding values in options
.
Definition at line 691 of file solver_factory.cpp.