Content deleted Content added
ShelfSkewed (talk | contribs) →Definition: dab link |
MikaelMonet (talk | contribs) m shortened the definition of an ear |
||
Line 16:
The algorithm iteratively removes the so-called ''ears'' of the hypergraph, until the hypergraph is fully decomposed.
Formally,
* <math>e</math> is ''isolated'', i.e., for every other hyperedge <math>e'</math>, we have <math>e \cap e' = \emptyset</math>;
* <math>e</math> is almost ''covered'' by another hyperedge, i.e., there exists another hyperedge <math>f</math> such that all vertices in <math>e \setminus f</math> occur only in <math>e</math>.
In particular, every edge that is a subset of another edge is an ear.
The GYO algorithm then proceeds as follows:
* Find an ear ''e'' in ''H''
* Remove ''e'' and remove all vertices of ''H'' that are only in ''e''.
If the algorithm successfully eliminates all vertices, then the hypergraph is α-acylic. Otherwise, if the algorithm gets to a non-emtpy hypergraph that has no ears, then the original hypergraph was not α-acyclic.
== Running time ==
|