mirror of
https://github.com/Z3Prover/z3
synced 2026-01-26 03:48:42 +00:00
move smt params to params directory, update release.yml
This commit is contained in:
parent
dc420332b8
commit
c387b20ac6
91 changed files with 165 additions and 144 deletions
33
src/params/theory_pb_params.cpp
Normal file
33
src/params/theory_pb_params.cpp
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
/*++
|
||||
Copyright (c) 2014 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
theory_pb_params.cpp
|
||||
|
||||
Abstract:
|
||||
|
||||
<abstract>
|
||||
|
||||
Author:
|
||||
|
||||
Nikolaj Bjorner (nbjorner) 2014-01-01
|
||||
|
||||
Revision History:
|
||||
|
||||
--*/
|
||||
#include "params/theory_pb_params.h"
|
||||
#include "params/smt_params_helper.hpp"
|
||||
|
||||
void theory_pb_params::updt_params(params_ref const & _p) {
|
||||
smt_params_helper p(_p);
|
||||
m_pb_conflict_frequency = p.pb_conflict_frequency();
|
||||
m_pb_learn_complements = p.pb_learn_complements();
|
||||
}
|
||||
|
||||
#define DISPLAY_PARAM(X) out << #X"=" << X << '\n';
|
||||
|
||||
void theory_pb_params::display(std::ostream & out) const {
|
||||
DISPLAY_PARAM(m_pb_conflict_frequency);
|
||||
DISPLAY_PARAM(m_pb_learn_complements);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue