All Downloads are FREE. Search and download functionalities are using the official Maven repository.

z3-z3-4.13.0.src.qe.mbp.mbp_dt_tg.h Maven / Gradle / Ivy

The newest version!
/*++
Copyright (c) 2022 Microsoft Corporation

Module Name:

    mbp_dt_tg.h

Abstract:

    Apply rules for model based projection for datatypes on a term graph

Author:

    Hari Govind V K (hgvk94) 2023-03-07

Revision History:

--*/

#pragma once

#include "ast/datatype_decl_plugin.h"
#include "qe/mbp/mbp_qel_util.h"
#include "qe/mbp/mbp_term_graph.h"
#include "qe/mbp/mbp_tg_plugins.h"
#include "util/obj_hashtable.h"

namespace mbp {
class mbp_dt_tg : public mbp_tg_plugin {
    struct impl;
    impl *m_impl;

  public:
    mbp_dt_tg(ast_manager &man, mbp::term_graph &tg, model &mdl,
              obj_hashtable &vars_set, expr_sparse_mark &seen);
    // iterate through all terms in m_tg and apply all datatype MBP rules once
    // returns true if any rules were applied
    bool apply() override;
    ~mbp_dt_tg() override;
    void use_model() override;
    void get_new_vars(app_ref_vector *&t) override;
    family_id get_family_id() const override;
};
} // namespace mbp




© 2015 - 2024 Weber Informatics LLC | Privacy Policy