summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/sygus/sygus_unif_io.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/quantifiers/sygus/sygus_unif_io.h')
-rw-r--r--src/theory/quantifiers/sygus/sygus_unif_io.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/theory/quantifiers/sygus/sygus_unif_io.h b/src/theory/quantifiers/sygus/sygus_unif_io.h
index f189353b0..7f48645bf 100644
--- a/src/theory/quantifiers/sygus/sygus_unif_io.h
+++ b/src/theory/quantifiers/sygus/sygus_unif_io.h
@@ -304,9 +304,14 @@ class SygusUnifIo : public SygusUnif
unsigned d_sol_term_size;
/** partial solutions
*
- * Maps indices for I/O points to a list of solutions for that point.
+ * Maps indices for I/O points to a list of solutions for that point, for each
+ * type. We may have more than one type for solutions, e.g. for grammar:
+ * A -> ite( A, B, C ) | ...
+ * where terms of type B and C can both act as solutions.
*/
- std::map<size_t, std::unordered_set<Node, NodeHashFunction>> d_psolutions;
+ std::map<size_t,
+ std::map<TypeNode, std::unordered_set<Node, NodeHashFunction>>>
+ d_psolutions;
/**
* This flag is set to true if the solution construction was
* non-deterministic with respect to failure/success.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback