Make sets and strings solver states inherit from TheoryState (#4918)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Wed, 19 Aug 2020 18:36:59 +0000 (13:36 -0500)
committerGitHub <noreply@github.com>
Wed, 19 Aug 2020 18:36:59 +0000 (13:36 -0500)
commit31717bf7c014bf1971cabcc9b871de5818278126
treed7331da2db605b16b67920990ae6def5db03dfd9
parent466520464a8ed862c3a323bb2fbcc92332d9384b
Make sets and strings solver states inherit from TheoryState (#4918)

This is towards the new standard for theory solvers.

This PR makes the custom states of sets and strings inherit from the standard base class TheoryState. It also makes a minor change to InferenceManager/SolverState to make sets more in line with the plan for a standard base class InferenceManager.

Followup PRs will establish the official TheoryState classes for all other theories (which in most cases will be an instance of the base class).
14 files changed:
src/theory/sets/inference_manager.cpp
src/theory/sets/inference_manager.h
src/theory/sets/solver_state.cpp
src/theory/sets/solver_state.h
src/theory/sets/theory_sets.cpp
src/theory/sets/theory_sets_private.cpp
src/theory/sets/theory_sets_private.h
src/theory/strings/inference_manager.cpp
src/theory/strings/solver_state.cpp
src/theory/strings/solver_state.h
src/theory/strings/theory_strings.cpp
src/theory/theory.cpp
src/theory/theory_state.cpp
src/theory/theory_state.h