summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/sygus/sygus_unif.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-11-28 15:49:56 -0600
committerGitHub <noreply@github.com>2018-11-28 15:49:56 -0600
commit64624a5ff72c132b87b885780ad9c39f06e3cdbc (patch)
treed26f9e217f3f681bf2966e4f9fae89c9f9b0338e /src/theory/quantifiers/sygus/sygus_unif.cpp
parentc92e6e49040b3ca4c33fbedb8e2a30ac3318fb8d (diff)
Information gain heuristic for PBE (#2719)
Diffstat (limited to 'src/theory/quantifiers/sygus/sygus_unif.cpp')
-rw-r--r--src/theory/quantifiers/sygus/sygus_unif.cpp17
1 files changed, 3 insertions, 14 deletions
diff --git a/src/theory/quantifiers/sygus/sygus_unif.cpp b/src/theory/quantifiers/sygus/sygus_unif.cpp
index c262c77e5..a4f276792 100644
--- a/src/theory/quantifiers/sygus/sygus_unif.cpp
+++ b/src/theory/quantifiers/sygus/sygus_unif.cpp
@@ -42,25 +42,14 @@ void SygusUnif::initializeCandidate(
d_strategy[f].initialize(qe, f, enums);
}
-Node SygusUnif::constructBestSolvedTerm(const std::vector<Node>& solved)
+Node SygusUnif::constructBestSolvedTerm(Node e, const std::vector<Node>& solved)
{
Assert(!solved.empty());
return solved[0];
}
-Node SygusUnif::constructBestStringSolvedTerm(const std::vector<Node>& solved)
-{
- Assert(!solved.empty());
- return solved[0];
-}
-
-Node SygusUnif::constructBestSolvedConditional(const std::vector<Node>& solved)
-{
- Assert(!solved.empty());
- return solved[0];
-}
-
-Node SygusUnif::constructBestConditional(const std::vector<Node>& conds)
+Node SygusUnif::constructBestConditional(Node ce,
+ const std::vector<Node>& conds)
{
Assert(!conds.empty());
double r = Random::getRandom().pickDouble(0.0, 1.0);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback