CBMC
Loading...
Searching...
No Matches
Functions
solver_factory.cpp File Reference

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>
#include <vector>
+ Include dependency graph for solver_factory.cpp:

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.
 
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< proptget_sat_solver (message_handlert &message_handler, const optionst &options)
 
static std::unique_ptr< std::ofstream >  open_outfile_and_check (const std::string &filename, message_handlert &message_handler, const std::string &arg_name)
 
 
 
  Parse solver-related command-line parameters in cmdline and set corresponding values in options.
 

Detailed Description

Solver Factory.

Definition in file solver_factory.cpp.

Function Documentation

◆  emit_solver_warning()

static void emit_solver_warning ( message_handlertmessage_handler,
const std::string &  solver 
)
static

Emit a warning for non-existent solver solver via message_handler.

Definition at line 165 of file solver_factory.cpp.

◆  get_sat_solver()

static std::unique_ptr< propt > get_sat_solver ( message_handlertmessage_handler,
const optionstoptions 
)
static

Definition at line 210 of file solver_factory.cpp.

◆  make_satcheck_prop() [1/2]

template<typename SatcheckT >
static std::enable_if<!std::is_base_of< hardness_collectort, SatcheckT >::value, std::unique_ptr< SatcheckT > >::type make_satcheck_prop ( message_handlertmessage_handler,
const optionstoptions 
)
static

Definition at line 179 of file solver_factory.cpp.

◆  make_satcheck_prop() [2/2]

template<typename SatcheckT >
static std::enable_if< std::is_base_of< hardness_collectort, SatcheckT >::value, std::unique_ptr< SatcheckT > >::type make_satcheck_prop ( message_handlertmessage_handler,
const optionstoptions 
)
static

Definition at line 196 of file solver_factory.cpp.

◆  open_outfile_and_check()

static std::unique_ptr< std::ofstream > open_outfile_and_check ( const std::string &  filename,
message_handlertmessage_handler,
const std::string &  arg_name 
)
static

Definition at line 334 of file solver_factory.cpp.

◆  parse_sat_options()

static void parse_sat_options ( const cmdlinetcmdline,
optionstoptions 
)
static

Definition at line 611 of file solver_factory.cpp.

◆  parse_smt2_options()

static void parse_smt2_options ( const cmdlinetcmdline,
optionstoptions 
)
static

Definition at line 628 of file solver_factory.cpp.

◆  parse_solver_options()

void parse_solver_options ( const cmdlinetcmdline,
optionstoptions 
)

Parse solver-related command-line parameters in cmdline and set corresponding values in options.

Definition at line 710 of file solver_factory.cpp.

AltStyle によって変換されたページ (->オリジナル) /