First round of refactoring on NlModel (#7255)
authorGereon Kremer <nafur42@gmail.com>
Tue, 5 Oct 2021 20:06:53 +0000 (13:06 -0700)
committerGitHub <noreply@github.com>
Tue, 5 Oct 2021 20:06:53 +0000 (20:06 +0000)
commite64a4bc87d2d98e04e8450d4ad9856bce3494c78
tree339fd9f21009acdb7190516f62d38e247d042195
parent35de43d011528e34f42363c1d201b10bf254d386
First round of refactoring on NlModel (#7255)

This PR performs a first refactoring on the NlModel class. It improves model value computation, comparison and stores the model substitutions in a map (instead of two vectors).
12 files changed:
src/expr/subs.cpp
src/expr/subs.h
src/theory/arith/arith_utilities.cpp
src/theory/arith/arith_utilities.h
src/theory/arith/nl/cad_solver.cpp
src/theory/arith/nl/ext/monomial_check.cpp
src/theory/arith/nl/nl_lemma_utils.cpp
src/theory/arith/nl/nl_model.cpp
src/theory/arith/nl/nl_model.h
src/theory/arith/nl/nonlinear_extension.cpp
src/theory/arith/nl/poly_conversion.h
src/theory/arith/nl/transcendental/transcendental_solver.cpp