-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement NFT operations for solving string constraints replace(_re)()
and replace(_re)_all()
#391
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## states_with_levels #391 +/- ##
======================================================
+ Coverage 73.43% 74.66% +1.23%
======================================================
Files 43 43
Lines 5180 5487 +307
Branches 1173 1215 +42
======================================================
+ Hits 3804 4097 +293
- Misses 939 947 +8
- Partials 437 443 +6 ☔ View full report in Codecov by Sentry. |
92907d7
to
793521e
Compare
…eluctant_literal() uncommented and passing. (#393)
Nft compose long jump
I will merge the PR immediately due to time constraint reasons. The reviewers can submit their review later and the issues raised in the reviews will be resolved in future PRs. |
Implement NFT operations for solving string constraints `replace(_re)()` and `replace(_re)_all()`
Implement NFT operations for solving string constraints `replace(_re)()` and `replace(_re)_all()`
Implement NFT operations for solving string constraints `replace(_re)()` and `replace(_re)_all()`
Implement NFT operations for solving string constraints `replace(_re)()` and `replace(_re)_all()`
Implement NFT operations for solving string constraints `replace(_re)()` and `replace(_re)_all()`
Implement NFT operations for solving string constraints `replace(_re)()` and `replace(_re)_all()`
Implement NFT operations for solving string constraints `replace(_re)()` and `replace(_re)_all()`
This PR implements the first part of implementation of reluctant replace operations for string solving. This PR includes implementation of functions to create reluctant NFAs and NFTs which perform the reluctant match of a regex, and reluctant replacement operations (for replace_re_all() and replace_re() operations), respectively. Furthermore, the PR implements creation of begin marker DFT which precedes the reluctant replace NFT in reluctant replace modelling.
This PR implements creation of NFTs for reluctant replace of:
Further implementation except for optimization of the current methods may include generation of NFTs for finite regular language replacement. However, I believe that in our implementation (using data structure
Delta
), the NFT's state space would explode