-- -*- M2-comint -*- hash: 179888989135606473

i1 : R = QQ[x_1..x_5];

i2 : randomHyperGraph(R,{3,2,4})

i3 : randomHyperGraph(R,{3,2,4})

o3 = HyperGraph{"edges" => {{x , x , x }, {x , x }, {x , x , x , x }}}
                              1   3   4     1   2     2   3   4   5
                "ring" => R
                "vertices" => {x , x , x , x , x }
                                1   2   3   4   5

o3 : HyperGraph

i4 : randomHyperGraph(R,{3,2,4})

o4 = HyperGraph{"edges" => {{x , x , x }, {x , x }, {x , x , x , x }}}
                              1   2   3     3   4     1   2   4   5
                "ring" => R
                "vertices" => {x , x , x , x , x }
                                1   2   3   4   5

o4 : HyperGraph

i5 : randomHyperGraph(R,{4,4,2,2}) -- impossible, returns null when time/branch limit reached

i6 : 
