diff options
author | mudathirmahgoub <mudathir-mahgoubyahia@uiowa.edu> | 2020-01-07 18:13:07 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-07 18:13:07 -0600 |
commit | 7ce64c96d655d675778bc70d424fd72f82db589f (patch) | |
tree | ad43650d7c2cc82d8c96098530fb04485e63defc /src/theory/sets/solver_state.h | |
parent | b38ffa21717d220e98581854e2af1ee9d13ce5b7 (diff) |
Universe set cardinality for finite types with finite cardinality (#3392)
* rewrote set cardinality for finite-types
* small changes and format
Diffstat (limited to 'src/theory/sets/solver_state.h')
-rw-r--r-- | src/theory/sets/solver_state.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/theory/sets/solver_state.h b/src/theory/sets/solver_state.h index 7426a701b..5bf20daca 100644 --- a/src/theory/sets/solver_state.h +++ b/src/theory/sets/solver_state.h @@ -121,8 +121,13 @@ class SolverState * class. */ bool isCongruent(Node n) const; - /** Get the list of all equivalence classes of set type */ + + /** Get the list of all equivalence classes of set terms */ const std::vector<Node>& getSetsEqClasses() const { return d_set_eqc; } + /** Get the list of all equivalence classes of set terms that have element + * type t */ + const std::vector<Node> getSetsEqClasses(const TypeNode& t) const; + /** * Get the list of non-variable sets that exists in the equivalence class * whose representative is r. |