kahypar / mt-kahypar

Mt-KaHyPar (Multi-Threaded Karlsruhe Hypergraph Partitioner) is a shared-memory multilevel graph and hypergraph partitioner equipped with parallel implementations of techniques used in the best sequential partitioning algorithms. Mt-KaHyPar can partition extremely large hypergraphs very fast and with high quality.
MIT License
122 stars 25 forks source link

Remove Macros #147

Closed kittobi1992 closed 1 year ago

kittobi1992 commented 1 year ago

In a previous PR, I introduced macros to enable/disable graph, n-level and large-k specific features. I realized that they made the code hard to read and maintain. In this change, I removed most of these macros. However, the features can still be disabled with the corresponding cmake flags.

codecov[bot] commented 1 year ago

Codecov Report

Merging #147 (8b04451) into master (1e95842) will decrease coverage by 0.08%. The diff coverage is 0.00%.

:exclamation: Current head 8b04451 differs from pull request most recent head 59c8ff9. Consider uploading reports for the commit 59c8ff9 to get more accurate results

@@            Coverage Diff             @@
##           master     #147      +/-   ##
==========================================
- Coverage   80.71%   80.63%   -0.08%     
==========================================
  Files         162      162              
  Lines       15585    15590       +5     
  Branches     6329     6329              
==========================================
- Hits        12579    12571       -8     
- Misses       3006     3019      +13     
Impacted Files Coverage Δ
mt-kahypar/datastructures/connectivity_info.h 85.22% <ø> (ø)
mt-kahypar/datastructures/hypergraph_common.h 100.00% <ø> (ø)
mt-kahypar/datastructures/sparse_pin_counts.h 89.44% <ø> (ø)
mt-kahypar/io/hypergraph_factory.cpp 68.25% <ø> (ø)
mt-kahypar/partition/conversion.cpp 0.00% <0.00%> (ø)
mt-kahypar/partition/deep_multilevel.cpp 82.05% <ø> (ø)
mt-kahypar/partition/multilevel.cpp 56.84% <ø> (ø)
mt-kahypar/partition/partitioner_facade.cpp 0.00% <0.00%> (ø)
mt-kahypar/partition/recursive_bipartitioning.cpp 77.70% <ø> (ø)
...partition/refinement/gains/bipartitioning_policy.h 62.50% <0.00%> (ø)
... and 4 more

... and 4 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more