hatvis.problems.gyo_reduction#
- hatvis.problems.gyo_reduction(H)[source]#
GYO reduction (Graham 1979; Yu and Özsoyoğlu 1979).
Repeatedly (a) deletes vertices that belong to exactly one hyperedge and (b) deletes hyperedges contained in another hyperedge (or empty). The hypergraph is \(\alpha\)-acyclic iff the reduction ends with at most one (possibly empty) hyperedge. Returns the verdict and the list of reduction steps
("vertex", v)/("edge", e).