Skip to content

YT-CPPHGL-10: Implement the remaining methods of the hypergraph class for undirected hypergraph operations#68

Merged
SpectraL519 merged 4 commits into
hgl-masterfrom
hypergraph-operations
Dec 8, 2025
Merged

YT-CPPHGL-10: Implement the remaining methods of the hypergraph class for undirected hypergraph operations#68
SpectraL519 merged 4 commits into
hgl-masterfrom
hypergraph-operations

Conversation

@SpectraL519
Copy link
Copy Markdown
Owner

  • Replaced the directional-specific incidence list and matrix classes with template specializations of a common model<DirectionalTag, LayoutTag> classes
  • Aligned the hypergraph class to store an implementation class instance
  • Aligned the following methods of the hypergraph class to use the underlying implementation:
    • Adding and removing vertices
    • Adding and removing hyperedges
  • Added the following methods to the hypergraph class:
    • Binding and unbinding vertices to hyperedges
    • Retrieving the degree of a vertex
    • Retrieving the set of hyperedges incident with (containing) a given vertex
    • Retrieving the number of vertices incident with a given hyperedge
    • Retrieving the set of vertices incident with (contained by) a given hyperedge

Copy link
Copy Markdown
Owner Author

@SpectraL519 SpectraL519 left a comment

Choose a reason for hiding this comment

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

ok

Copy link
Copy Markdown
Owner Author

@SpectraL519 SpectraL519 left a comment

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 bcbe88d into hgl-master Dec 8, 2025
4 checks passed
@SpectraL519 SpectraL519 deleted the hypergraph-operations branch December 8, 2025 17:12
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