Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Directed/undirected expected degree hypergraphs: "illegal" edges? #20

Open
arashbm opened this issue Sep 20, 2022 · 0 comments
Open

Directed/undirected expected degree hypergraphs: "illegal" edges? #20

arashbm opened this issue Sep 20, 2022 · 0 comments

Comments

@arashbm
Copy link
Collaborator

arashbm commented Sep 20, 2022

Take the following example:

d = ret.random_directed_expected_degree_sequence_hypergraph[ret.int64]([(2, 2)]*200000, [(5,5)]*80000, random_state=state)

It produces an edge with zero vertices, and many edges with only in- or out-verts. Similarly, the undirected variant creates one zero-degree edge and many one-degree edges. What should we do about them?

Other libraries leave them be, although some produce many zero-degree edges that are distinguished by an edge id.

@arashbm arashbm changed the title Directed/undirected expected degree hypergraphs: illegal edges? Directed/undirected expected degree hypergraphs: "illegal" edges? Sep 20, 2022
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

No branches or pull requests

1 participant