3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-05-03 00:45:15 +00:00
z3/src/smt/smt_lookahead.h
Nikolaj Bjorner e24a5b6624
Revert "Parallel solving (#7775)" (#7777)
This reverts commit c8e866f568.
2025-08-14 18:16:35 -07:00

45 lines
648 B
C++

/*++
Copyright (c) 2006 Microsoft Corporation
Module Name:
smt_lookahead.h
Abstract:
Lookahead solver for SMT
Author:
nbjorner 2019-05-27.
Revision History:
--*/
#pragma once
#include "ast/ast.h"
namespace smt {
class context;
class lookahead {
context& ctx;
ast_manager& m;
struct compare;
double get_score();
void choose_rec(expr_ref_vector& trail, expr_ref_vector& result, unsigned depth, unsigned budget);
public:
lookahead(context& ctx);
expr_ref choose(unsigned budget = 2000);
expr_ref_vector choose_rec(unsigned depth);
};
}