mirror of
https://github.com/Z3Prover/z3
synced 2025-10-08 00:41:56 +00:00
add smt lookahead
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
dd4b8b9ff8
commit
d2dcb39c11
11 changed files with 187 additions and 17 deletions
40
src/smt/smt_lookahead.h
Normal file
40
src/smt/smt_lookahead.h
Normal file
|
@ -0,0 +1,40 @@
|
|||
/*++
|
||||
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();
|
||||
|
||||
public:
|
||||
lookahead(context& ctx);
|
||||
|
||||
expr_ref choose();
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue