3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-25 20:46:01 +00:00

Add documentation for the translate method in solver_factory

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-08-14 16:21:48 +00:00
parent b3de9ebaa2
commit 7ed47bf9bf

View file

@ -32,6 +32,10 @@ class solver_factory {
public:
virtual ~solver_factory() = default;
virtual solver * operator()(ast_manager & m, params_ref const & p, bool proofs_enabled, bool models_enabled, bool unsat_core_enabled, symbol const & logic) = 0;
/**
\brief Create a clone of the solver factory for the given ast_manager.
The clone should be functionally equivalent but associated with the target manager.
*/
virtual solver_factory* translate(ast_manager& m) = 0;
};