-
Notifications
You must be signed in to change notification settings - Fork 28
🎨 Refactored random layout design functions #678
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
🎨 Refactored random layout design functions #678
Conversation
Signed-off-by: GitHub Actions <actions@github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
There were too many comments to post at once. Showing the first 25 out of 78. Check the log or trigger a new build to see more.
experiments/random_sidb_layout_generation/random_sidb_layout_generation.cpp
Show resolved
Hide resolved
experiments/random_sidb_layout_generation/random_sidb_layout_generation.cpp
Show resolved
Hide resolved
include/fiction/algorithms/simulation/sidb/random_sidb_layout_generator.hpp
Show resolved
Hide resolved
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #678 +/- ##
==========================================
- Coverage 98.41% 98.39% -0.02%
==========================================
Files 254 254
Lines 41149 41203 +54
Branches 1869 1871 +2
==========================================
+ Hits 40495 40541 +46
- Misses 654 662 +8
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
.../mnt/pyfiction/include/pyfiction/algorithms/simulation/sidb/random_sidb_layout_generator.hpp
Outdated
Show resolved
Hide resolved
.../mnt/pyfiction/include/pyfiction/algorithms/simulation/sidb/random_sidb_layout_generator.hpp
Show resolved
Hide resolved
.../mnt/pyfiction/include/pyfiction/algorithms/simulation/sidb/random_sidb_layout_generator.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/simulation/sidb/random_sidb_layout_generator.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/simulation/sidb/random_sidb_layout_generator.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/simulation/sidb/random_sidb_layout_generator.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/simulation/sidb/random_sidb_layout_generator.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/simulation/sidb/random_sidb_layout_generator.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/simulation/sidb/random_sidb_layout_generator.hpp
Outdated
Show resolved
Hide resolved
Signed-off-by: GitHub Actions <actions@github.com>
Thank you for the quick review! 🙏 |
include/fiction/algorithms/simulation/sidb/random_sidb_layout_generator.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/simulation/sidb/random_sidb_layout_generator.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/simulation/sidb/random_sidb_layout_generator.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/simulation/sidb/random_sidb_layout_generator.hpp
Outdated
Show resolved
Hide resolved
include/fiction/algorithms/simulation/sidb/random_sidb_layout_generator.hpp
Outdated
Show resolved
Hide resolved
Signed-off-by: GitHub Actions <actions@github.com>
Description
This PR refactors the functions responsible for designing random SiDB layouts. If the design process fails,
std::nullopt
is now returned instead of an empty layout.Checklist: