summaryrefslogtreecommitdiff
path: root/src/theory/strings/solver_state.h
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-05-26 12:41:31 -0500
committerGitHub <noreply@github.com>2020-05-26 12:41:31 -0500
commit114a215e9b33effb361c4b000fb23085ce9f079a (patch)
treeb7f1e9d3bf4d37ac86706f035338955ee4e21502 /src/theory/strings/solver_state.h
parent1e6f142d3b309db022edcfd3218adcb146d73dec (diff)
Convert more uses of strings to words (#4527)
Diffstat (limited to 'src/theory/strings/solver_state.h')
-rw-r--r--src/theory/strings/solver_state.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/theory/strings/solver_state.h b/src/theory/strings/solver_state.h
index bd5bb2926..d43c600f4 100644
--- a/src/theory/strings/solver_state.h
+++ b/src/theory/strings/solver_state.h
@@ -136,6 +136,13 @@ class SolverState
*/
Node explainNonEmpty(Node s);
/**
+ * Is equal empty word? Returns true if s is equal to the empty word (of
+ * its type). If this method returns true, it updates emps to be that word.
+ * This is an optimization so that the relevant empty word does not need to
+ * be constructed to check if s is equal to the empty word.
+ */
+ bool isEqualEmptyWord(Node s, Node& emps);
+ /**
* Get the above information for equivalence class eqc. If doMake is true,
* we construct a new information class if one does not exist. The term eqc
* should currently be a representative of the equality engine of this class.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback