mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 19:35:50 +00:00
Add datalog infrastructure for min aggregation function
This patch adds an instruction to the datalog interpreter and constructs a new AST node for min aggregation functions. The compiler is currently still work in progress and depends on changes made to the handling of simple joins and the preprocessor. Signed-off-by: Alex Horn <t-alexh@microsoft.com>
This commit is contained in:
parent
004bf1471f
commit
140fb7942d
11 changed files with 418 additions and 3 deletions
|
@ -1021,6 +1021,11 @@ namespace datalog {
|
|||
return res;
|
||||
}
|
||||
|
||||
table_min_fn * relation_manager::mk_min_fn(const table_base & t,
|
||||
unsigned_vector & group_by_cols, const unsigned col)
|
||||
{
|
||||
return t.get_plugin().mk_min_fn(t, group_by_cols, col);
|
||||
}
|
||||
|
||||
class relation_manager::auxiliary_table_transformer_fn {
|
||||
table_fact m_row;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue