structify_net.zoo.sort_stars
- structify_net.zoo.sort_stars(nodes)
A rank model based on a star structure
This rank model sorts pairs of nodes such as all pairs of nodes of node n1 are first, then all pairs of nodes of node n2, etc.
- Args:
nodes (_type_): Describe nodes. Can be either a networkx graph (node names and node attributes are preserved) or an integer (number of nodes)
- Returns:
structify_net.Rank_model
:: The rank model