Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Hypergraphx documentation
Hypergraphx documentation

๐Ÿš€ Get Started

  • โš™๏ธ Installation
  • ๐Ÿš€ Quickstart
  • ๐Ÿ“š Tutorials

๐Ÿ“– API Reference

  • ๐Ÿงฉ Core
  • ๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘ Communities
  • ๐ŸŒŠ Dynamics
  • ๐Ÿงน Filters
  • ๐ŸŽฒ Generation
  • ๐Ÿ“ Measures
  • ๐Ÿงฌ Motifs
  • ๐Ÿงฎ Linear Algebra
  • ๐ŸŽจ Visualization
  • ๐Ÿ’พ Read & Write
  • ๐Ÿ”— Representations
  • ๐Ÿงฐ Utilities
Back to top
View this page

๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘ Hyperlink-Commยถ

Submodulesยถ

hypergraphx.communities.hyperlink_comm.hyperlink_communities moduleยถ

hypergraphx.communities.hyperlink_comm.hyperlink_communities.get_num_hyperlink_communties(dendrogram, cut_height)[source]ยถ

Returns the number of communities in the dendrogram at the cut height

Parameters:
  • dendrogram (np.ndarray)

  • cut_height (float) โ€“ The cut height

Returns:

The number of communities

Return type:

int

hypergraphx.communities.hyperlink_comm.hyperlink_communities.hyperlink_communities(H, load_distances=None, save_distances=None)[source]ยถ

Computes the dendrogram of the given hypergraph

Parameters:
  • H (Hypergraph) โ€“ The hypergraph of interest

  • load_distances (str) โ€“ The path to load the distances from

  • save_distances (str) โ€“ The path to save the distances to

Returns:

The dendrogram of the given hypergraph

Return type:

np.ndarray

hypergraphx.communities.hyperlink_comm.hyperlink_communities.overlapping_communities(H, dendrogram, cut_height)[source]ยถ

Returns the overlapping communities in the dendrogram at the given cut height

Parameters:
  • H (Hypergraph) โ€“ The hypergraph of interest

  • dendrogram (np.ndarray) โ€“ The dendrogram of the given hypergraph

  • cut_height โ€“ The cut height

Returns:

The overlapping communities

Return type:

dict

Module contentsยถ

Next
๐Ÿงฉ Core
Previous
๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘ Hypergraph-MT
Copyright © 2026, HGX-Team
Made with Sphinx and @pradyunsg's Furo
On this page
  • ๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘ Hyperlink-Comm
    • Submodules
    • hypergraphx.communities.hyperlink_comm.hyperlink_communities module
      • get_num_hyperlink_communties()
      • hyperlink_communities()
      • overlapping_communities()
    • Module contents