Skip to content

Ensure const-correctness for hypergraph element properties storage - #112

Merged
SpectraL519 merged 11 commits into
cpp-gl-v3from
hgl-const-correctness
Jul 30, 2026
Merged

Ensure const-correctness for hypergraph element properties storage#112
SpectraL519 merged 11 commits into
cpp-gl-v3from
hgl-const-correctness

Conversation

@SpectraL519

@SpectraL519 SpectraL519 commented Jul 29, 2026

Copy link
Copy Markdown
Owner
  • Aligned the hyperedge descriptor type to allow:
    • Proper implicit conversion from non-const to const variant
    • Comparison between a const and non-const variants
  • Refactored the hypergraph class to define and utilize const and non-const element descriptors based on the hypergraph's constness
  • Relaxed the c_hypergraph concept to allow various value/type categories of the hypergraph class
  • Introduced helper typedefs to easily extract the typedefs from a hypergraph type in generic contexts
  • Aligned the algorithm implementations to work with the new, aligned graph implementation
  • Additional cleanup of the GL module

@SpectraL519
SpectraL519 changed the base branch from master to cpp-gl-v3 July 30, 2026 07:59
Comment thread include/hgl/traits.hpp Outdated
Comment thread include/hgl/types.hpp
Comment thread include/hgl/types.hpp
Comment thread include/hgl/util.hpp
Comment thread include/hgl/impl/util.hpp Outdated
Comment thread include/hgl/io/hypergraph_fio.hpp
Comment thread include/hgl/algorithm/core.hpp Outdated

@SpectraL519 SpectraL519 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@SpectraL519
SpectraL519 merged commit 00d72d7 into cpp-gl-v3 Jul 30, 2026
6 checks passed
@SpectraL519
SpectraL519 deleted the hgl-const-correctness branch July 30, 2026 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant