Commit 1944788
committed
Refactoring
This PR refactors the `Enum` relations in order to use a proper type
for the domains of enum semantic values.
Now, we only store domains for class representatives and I believe that the new
implementation is simpler to understand and to maintain.
I don't use the functor `Domains_make` of `Rel_utils` as domain's
propagations performed in `Enum_rel` are much simpler than the propagations in
the BV theory.Enum_rel using domains on class representatives only1 parent cee8b5a commit 1944788
3 files changed
Lines changed: 367 additions & 249 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
| 128 | + | |
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
| |||
0 commit comments