>
|
|
Create a random hypergraph with 8 vertices and 16 hyperedges.
>
|
|
| (1) |
Print its vertices and edges.
>
|
|
| |
| (2) |
Draw a graphical representation of this hypergraph.
Create another random hypergraph with 10 vertices and 500 hyperedges.
>
|
|
| (3) |
Apply the Min operator to it.
| (4) |
Print the cardinalities of the hyperedges of M.
>
|
|
| (5) |
Create another random hypergraph with 10 vertices and 500 hyperedges using the uniform distribution method.
>
|
|
| (6) |
Apply the Min operator to it.
| (7) |
Print the cardinalities of the hyperedges of M.
>
|
|
| (8) |