File tree 10 files changed +16
-28
lines changed 10 files changed +16
-28
lines changed Original file line number Diff line number Diff line change @@ -218,8 +218,8 @@ propt::resultt pbs_dimacs_cnft::prop_solve()
218
218
pbfile.close ();
219
219
220
220
// We start counting at 1, thus there is one variable fewer.
221
- messaget::status () << (no_variables () - 1 ) << " variables, " << clauses. size ()
222
- << " clauses" << eom;
221
+ messaget::statistics () << (no_variables () - 1 ) << " variables, "
222
+ << clauses. size () << " clauses" << eom;
223
223
224
224
const bool result = pbs_solve ();
225
225
Original file line number Diff line number Diff line change @@ -69,8 +69,8 @@ propt::resultt satcheck_cadicalt::prop_solve()
69
69
{
70
70
INVARIANT (status != statust::ERROR, " there cannot be an error" );
71
71
72
- messaget::status () << (no_variables () - 1 ) << " variables, " << clause_counter
73
- << " clauses" << eom;
72
+ messaget::statistics () << (no_variables () - 1 ) << " variables, "
73
+ << clause_counter << " clauses" << eom;
74
74
75
75
if (status == statust::UNSAT)
76
76
{
Original file line number Diff line number Diff line change @@ -137,11 +137,8 @@ propt::resultt satcheck_glucose_baset<T>::prop_solve()
137
137
PRECONDITION (status != statust::ERROR);
138
138
139
139
// We start counting at 1, thus there is one variable fewer.
140
- {
141
- messaget::status () <<
142
- (no_variables ()-1 ) << " variables, " <<
143
- solver->nClauses () << " clauses" << eom;
144
- }
140
+ messaget::statistics () << (no_variables () - 1 ) << " variables, "
141
+ << solver->nClauses () << " clauses" << eom;
145
142
146
143
try
147
144
{
Original file line number Diff line number Diff line change @@ -97,11 +97,8 @@ propt::resultt satcheck_ipasirt::prop_solve()
97
97
{
98
98
INVARIANT (status!=statust::ERROR, " there cannot be an error" );
99
99
100
- {
101
- messaget::status () <<
102
- (no_variables ()-1 ) << " variables, " <<
103
- clause_counter << " clauses" << eom;
104
- }
100
+ messaget::statistics () << (no_variables () - 1 ) << " variables, "
101
+ << clause_counter << " clauses" << eom;
105
102
106
103
// use the internal representation, as ipasir does not support reporting the
107
104
// status
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ propt::resultt satcheck_lingelingt::prop_solve()
72
72
std::string msg=
73
73
std::to_string (no_variables ()-1 )+" variables, " +
74
74
std::to_string (clause_counter)+" clauses" ;
75
- messaget::status () << msg << messaget::eom;
75
+ messaget::statistics () << msg << messaget::eom;
76
76
}
77
77
78
78
std::string msg;
Original file line number Diff line number Diff line change @@ -154,11 +154,8 @@ propt::resultt satcheck_minisat1_baset::prop_solve()
154
154
{
155
155
PRECONDITION (status != ERROR);
156
156
157
- {
158
- messaget::status () <<
159
- (_no_variables-1 ) << " variables, " <<
160
- solver->nClauses () << " clauses" << messaget::eom;
161
- }
157
+ messaget::statistics () << (_no_variables - 1 ) << " variables, "
158
+ << solver->nClauses () << " clauses" << messaget::eom;
162
159
163
160
add_variables ();
164
161
Original file line number Diff line number Diff line change @@ -167,11 +167,8 @@ propt::resultt satcheck_minisat2_baset<T>::prop_solve()
167
167
{
168
168
PRECONDITION (status != statust::ERROR);
169
169
170
- {
171
- messaget::status () <<
172
- (no_variables ()-1 ) << " variables, " <<
173
- solver->nClauses () << " clauses" << eom;
174
- }
170
+ messaget::statistics () << (no_variables () - 1 ) << " variables, "
171
+ << solver->nClauses () << " clauses" << eom;
175
172
176
173
try
177
174
{
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ propt::resultt satcheck_picosatt::prop_solve()
73
73
std::string msg=
74
74
std::to_string (_no_variables-1 )+" variables, " +
75
75
std::to_string (picosat_added_original_clauses (picosat))+" clauses" ;
76
- messaget::status () << msg << messaget::eom;
76
+ messaget::statistics () << msg << messaget::eom;
77
77
}
78
78
79
79
std::string msg;
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ propt::resultt satcheck_zchaff_baset::prop_solve()
81
81
std::string msg=
82
82
std::to_string (solver->num_variables ())+" variables, " +
83
83
std::to_string (solver->clauses ().size ())+" clauses" ;
84
- messaget::status () << msg << messaget::eom;
84
+ messaget::statistics () << msg << messaget::eom;
85
85
}
86
86
87
87
SAT_StatusT result=(SAT_StatusT)solver->solve ();
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ propt::resultt satcheck_zcoret::prop_solve()
41
41
std::string msg=
42
42
std::to_string (no_variables ()-1 )+" variables, " +
43
43
std::to_string (no_clauses ())+" clauses" ;
44
- messaget::status () << msg << messaget::eom;
44
+ messaget::statistics () << msg << messaget::eom;
45
45
}
46
46
47
47
// get the core
You can’t perform that action at this time.
0 commit comments