-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set real limits on calling vf2 and add quality heuristic
This commit adds options to set limits on the vf2 pass, both the internal call limit for the vf2 execution in retworkx, a total time spent in the pass trying multiple layouts, and the number of trials to attempt. These are then set in the preset pass manager to ensure we don't sit spinning on vf2 forever in the real world. While the pass is generally fast there are edge cases where it can get stuck. At the same time this adds a rough quality heuristic (based on readout error falling back to connectivity) to select between multiple mappings found by retworkx. This addresses the poor quality results we were getting with vf2++ in earlier revisions as we can find the best from multiple mappings.
- Loading branch information
Showing
5 changed files
with
117 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters