You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is in GrammarStringBounder.lowerBounds.
For safety and simplicity it assumes that lower bound on any nonterminal is 0
or 1.
This bound can be dramatically improved if we checked what the nonterminal
expands to
and, if it expands to a constant string, then use the length of that string as
both
the lower and the upper bound. More aggresively, we could check if the all
strings
generated from the nonterminal are of constant size (or maybe there's just one
string
genenerated).
Original issue reported on code.google.com by
[email protected]
on 3 Feb 2010 at 6:19The text was updated successfully, but these errors were encountered: