Go to the documentation of this file.
9 #ifndef CPROVER_UTIL_UNION_FIND_REPLACE_H
10 #define CPROVER_UTIL_UNION_FIND_REPLACE_H
25 std::vector<std::pair<exprt, exprt>>
to_vector()
const;
31 #endif // CPROVER_UTIL_UNION_FIND_REPLACE_H
std::vector< std::pair< exprt, exprt > > to_vector() const
bool replace_expr(exprt &expr) const
Replace subexpressions of expr by the representative element of the set they belong to.
Base class for all expressions.
exprt make_union(const exprt &a, const exprt &b)
Merge the set containing a and the set containing b.
Similar interface to union-find for expressions, with a function for replacing sub-expressions by the...
std::unordered_map< exprt, exprt, irep_hash > replace_mapt
exprt find(exprt expr) const