Copying Z3 Solver -
i have seen in post: is possible clone z3_context? ability copy/clone solver planned addition z3, facilitate backtracking behaviour. have looked in c api documentation , not find way this.
is possible copy solver through c api?
the api not have method copying solver object, can simulated using z3_solver_get_assertions
, z3_solver_assert
. idea create new solver object, , copy assertions old new.
Comments
Post a Comment