i1 : R = QQ[x_1..x_5]; |
i2 : randomHyperGraph(R,{3,2,4}) o2 = HyperGraph{edges => {{x , x , x }, {x , x }, {x , x , x , x }}} 1 2 3 3 5 1 2 4 5 ring => R vertices => {x , x , x , x , x } 1 2 3 4 5 o2 : HyperGraph |
i3 : randomHyperGraph(R,{3,2,4}) o3 = HyperGraph{edges => {{x , x , x }, {x , x }, {x , x , x , x }}} 1 3 4 2 4 1 2 3 5 ring => R vertices => {x , x , x , x , x } 1 2 3 4 5 o3 : HyperGraph |
i4 : randomHyperGraph(R,{3,2,4}) |
i5 : randomHyperGraph(R,{4,4,2,2}) -- impossible, returns null when time/branch limit reached |