diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-05-26 12:41:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-26 12:41:31 -0500 |
commit | 114a215e9b33effb361c4b000fb23085ce9f079a (patch) | |
tree | b7f1e9d3bf4d37ac86706f035338955ee4e21502 /src/theory/strings/solver_state.h | |
parent | 1e6f142d3b309db022edcfd3218adcb146d73dec (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.h | 7 |
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. |