@@ -98,11 +98,9 @@ generator_info(const string_refinementt::infot &in)
98
98
99
99
string_refinementt::string_refinementt (const infot &info, bool ):
100
100
supert(info),
101
- use_counter_example(false ),
102
- do_concretizing(info.trace),
103
- initial_loop_bound(info.refinement_bound),
104
- generator(generator_info(info)),
105
- non_empty_string(info.string_non_empty) { }
101
+ config_(info),
102
+ loop_bound_(info.refinement_bound),
103
+ generator(generator_info(info)) { }
106
104
107
105
string_refinementt::string_refinementt (const infot &info):
108
106
string_refinementt(info, validate(info)) { }
@@ -560,7 +558,7 @@ decision_proceduret::resultt string_refinementt::dec_solve()
560
558
cur.clear ();
561
559
add_instantiations ();
562
560
563
- while ((initial_loop_bound --)>0 )
561
+ while ((loop_bound_ --)>0 )
564
562
{
565
563
decision_proceduret::resultt res=supert::dec_solve ();
566
564
@@ -591,7 +589,7 @@ decision_proceduret::resultt string_refinementt::dec_solve()
591
589
if (current_index_set.empty ())
592
590
{
593
591
debug () << " current index set is empty" << eom;
594
- if (do_concretizing )
592
+ if (config_. trace )
595
593
{
596
594
concretize_results ();
597
595
return resultt::D_SATISFIABLE;
@@ -1232,7 +1230,7 @@ bool string_refinementt::check_axioms()
1232
1230
debug () << violated_not_contains.size ()
1233
1231
<< " not_contains string axioms can be violated" << eom;
1234
1232
1235
- if (use_counter_example)
1233
+ if (config_. use_counter_example )
1236
1234
{
1237
1235
// TODO: add counter examples for not_contains?
1238
1236
@@ -1757,7 +1755,7 @@ bool string_refinementt::is_axiom_sat(
1757
1755
info.refine_arithmetic =true ;
1758
1756
info.refine_arrays =true ;
1759
1757
info.max_node_refinement =5 ;
1760
- info.ui =config_.ui ;
1758
+ info.ui =supert:: config_.ui ;
1761
1759
supert solver (info);
1762
1760
solver << axiom;
1763
1761
0 commit comments