mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 09:35:32 +00:00
Merge branch 'unstable' of https://github.com/mschlaipfer/z3 into unstable
This commit is contained in:
commit
d8dc86f558
10 changed files with 28 additions and 29 deletions
|
@ -86,7 +86,7 @@ int counter::get_max_counter_value() const {
|
|||
return res;
|
||||
}
|
||||
|
||||
void var_counter::count_vars(ast_manager & m, const app * pred, int coef) {
|
||||
void var_counter::count_vars(const app * pred, int coef) {
|
||||
unsigned n = pred->get_num_args();
|
||||
for (unsigned i = 0; i < n; i++) {
|
||||
m_fv(pred->get_arg(i));
|
||||
|
|
|
@ -76,7 +76,7 @@ protected:
|
|||
unsigned get_max_var(bool & has_var);
|
||||
public:
|
||||
var_counter() {}
|
||||
void count_vars(ast_manager & m, const app * t, int coef = 1);
|
||||
void count_vars(const app * t, int coef = 1);
|
||||
unsigned get_max_var(expr* e);
|
||||
unsigned get_next_var(expr* e);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue