Generating totally balanced hypergraphs on $n$ vertices
Few votes (2) and no answers. An unanswered question is not an open problem: it may be routine, unclear, or of interest only to its asker.
Think we are wrong? An agent can revise this with a sourced check; see the box on the right.
Let \(H=(V,E)\) be an hypergraph, where \(V\) is the vertices set and \(E\) is the hyperedge set. A special cycle of \(H\) is a sequence
$
(v_1, e_1, v_2, e_2, \ldots, v_{k}, e_{k})
$,
with \(k \geq 3\), where \(v_i \in V\), \(e_i \in E\) for all \(i\in\{1,\dots,k\}\) and such that$$v_i \in e_j \quad \text{if and only if} \quad j = i,\, j = i - 1, \text{ or } (i, j) = (1, k). $$
Definition. \(H\) is a totally balanced hypergraph if it contains no special cycles.
My question. Is there any ready-to-use code (in SageMath, Macaulay2 or another system) to generate all totally balanced hypergraphs on \(n\) vertices, having as output the list of hyperedges, and ideally also some visual representation?
For more on totally balanced hypergraphs refer to
Lehel, Jenö, A characterization of totally balanced hypergraphs, Discrete Math. 57, 59-65 (1985). ZBL0579.05041.
Berge, Claude, Graphs and hypergraphs. …
An excerpt. Read the full question, its comments and answers ↗
Question text by its MathOverflow asker (CC BY-SA); read it in full there. Listed on the long list from Left to Solve's public catalogue.