Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Push redundant simulator iterator code into base classes (#3650)
First step for #2178 This PR pushes redundant simulator code into base classes, making it easier to create simulators. The scope of the PR is currently only the iterator methods. The run methods have subsequently diverged among subclasses, such that the first two lines of each are all that is repetitive, and the overhead of consolidating those is not worth it. This is still something that could be visited and refined later on. There may be some other higher-level changes we could make to consolidate additional logic. That would be substantial redesign though and is beyond the scope of this PR.
- Loading branch information
Showing
7 changed files
with
63 additions
and
135 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
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