HOME

TheInfoList



OR:

In
graph theory In mathematics, graph theory is the study of '' graphs'', which are mathematical structures used to model pairwise relations between objects. A graph in this context is made up of '' vertices'' (also called ''nodes'' or ''points'') which are conn ...
, a vertex cover in a
hypergraph In mathematics, a hypergraph is a generalization of a graph in which an edge can join any number of vertices. In contrast, in an ordinary graph, an edge connects exactly two vertices. Formally, an undirected hypergraph H is a pair H = (X,E) w ...
is a set of vertices, such that every hyperedge of the hypergraph contains at least one vertex of that set. It is an extension of the notion of vertex cover in a graph. An equivalent term is a hitting set: given a collection of sets, a set which intersects all sets in the collection in at least one element is called a hitting set. The equivalence can be seen by mapping the sets in the collection onto hyperedges. Another equivalent term, used more in a
combinatorial Combinatorics is an area of mathematics primarily concerned with counting, both as a means and an end in obtaining results, and certain properties of finite structures. It is closely related to many other areas of mathematics and has many ap ...
context, is ''transversal''. The notions of hitting set and '' set cover'' are equivalent too.


Definition

Recall that a
hypergraph In mathematics, a hypergraph is a generalization of a graph in which an edge can join any number of vertices. In contrast, in an ordinary graph, an edge connects exactly two vertices. Formally, an undirected hypergraph H is a pair H = (X,E) w ...
is a pair , where is a set of ''vertices'' and is a set of subsets of called ''hyperedges''. Each hyperedge may contain one or more vertices. A vertex-cover (aka hitting set or transversal) in is set such that, for all hyperedges , it holds that . The vertex-cover number (aka transversal number) of a hypergraph is the smallest size of a vertex cover in . It is often denoted by . For example, if is this 3-uniform hypergraph: : then has admits several vertex-covers of size 2, for example: : However, no subset of size 1 hits all the hyperedges of . Hence the vertex-cover number of is 2. Note that we get back the case of vertex covers for simple graphs if the maximum size of the hyperedges is 2.


Algorithms

The computational problems ''minimum hitting set'' and ''hitting set'' are defined as in the case of graphs. If the maximum size of a hyperedge is restricted to , then the problem of finding a minimum -hitting set permits a -approximation algorithm. Assuming the
unique games conjecture In computational complexity theory, the unique games conjecture (often referred to as UGC) is a conjecture made by Subhash Khot in 2002. The conjecture postulates that the problem of determining the approximate ''value'' of a certain type of ga ...
, this is the best constant-factor algorithm that is possible and otherwise there is the possibility of improving the approximation to . For the hitting set problem, different parametrizations make sense. The hitting set problem is -complete for the parameter , that is, it is unlikely that there is an algorithm that runs in time where is the cardinality of the smallest hitting set. The hitting set problem is fixed-parameter tractable for the parameter , where is the size of the largest edge of the hypergraph. More specifically, there is an algorithm for hitting set that runs in time .


Hitting set and set cover

The hitting set problem is equivalent to the
set cover problem The set cover problem is a classical question in combinatorics, computer science, operations research, and complexity theory. It is one of Karp's 21 NP-complete problems shown to be NP-complete in 1972. Given a set of elements (called the un ...
: An instance of set cover can be viewed as an arbitrary
bipartite graph In the mathematical field of graph theory, a bipartite graph (or bigraph) is a graph whose vertices can be divided into two disjoint and independent sets U and V, that is every edge connects a vertex in U to one in V. Vertex sets U and V a ...
, with sets represented by vertices on the left, elements of the universe represented by vertices on the right, and edges representing the inclusion of elements in sets. The task is then to find a minimum cardinality subset of left-vertices which covers all of the right-vertices. In the hitting set problem, the objective is to cover the left-vertices using a minimum subset of the right vertices. Converting from one problem to the other is therefore achieved by interchanging the two sets of vertices.


Applications

An example of a practical application involving the hitting set problem arises in efficient dynamic detection of
race condition A race condition or race hazard is the condition of an electronics, software, or other system where the system's substantive behavior is Sequential logic, dependent on the sequence or timing of other uncontrollable events. It becomes a software ...
. In this case, each time global memory is written, the current thread and set of locks held by that thread are stored. Under lockset-based detection, if later another thread writes to that location and there is ''not'' a race, it must be because it holds at least one lock in common with each of the previous writes. Thus the size of the hitting set represents the minimum lock set size to be race-free. This is useful in eliminating redundant write events, since large lock sets are considered unlikely in practice.


Fractional vertex cover

A fractional vertex-cover is a function assigning a weight in to each vertex in , such that for every hyperedge in , the sum of fractions of vertices in is at least 1. A vertex cover is a special case of a fractional vertex cover in which all weights are either 0 or 1. The ''size'' of a fractional vertex-cover is the sum of fractions of all vertices. The fractional vertex-cover number of a hypergraph is the smallest size of a fractional vertex-cover in . It is often denoted by . Since a vertex-cover is a special case of a fractional vertex-cover, for every hypergraph :
fractional-vertex-cover-number() ≤ vertex-cover-number ();
In symbols:
\tau^*(H) \leq \tau(H).
The fractional-vertex-cover-number of a hypergraph is, in general, smaller than its vertex-cover-number. A theorem of
László Lovász László Lovász (; born March 9, 1948) is a Hungarian mathematician and professor emeritus at Eötvös Loránd University, best known for his work in combinatorics, for which he was awarded the 2021 Abel Prize jointly with Avi Wigderson. He wa ...
provides an upper bound on the ratio between them: * If each vertex is contained in at most hyperedges (i.e., the ''degree'' of the hypergraph is at most ), then

\frac \leq 1 + \ln(d).


Transversals in finite projective planes

A
finite projective plane In mathematics, a projective plane is a geometric structure that extends the concept of a plane. In the ordinary Euclidean plane, two lines typically intersect in a single point, but there are some pairs of lines (namely, parallel lines) that d ...
is a hypergraph in which every two hyperedges intersect. Every finite projective plane is -uniform for some integer . Denote by the -uniform projective plane. The following projective planes are known to exist: * : it is simply a triangle graph. * : it is the Fano plane. * exists whenever is the power of a prime number. When exists, it has the following properties: * It has vertices and hyperedges. * It is -uniform - each hyperedge contains exactly vertices. * It is -regular - each vertex is contained in exactly hyperedges. *: the vertices in each hyperedge are a vertex-cover of (since every other hyperedge intersects ). *The only transversals of size are the hyperedges; all other transversals have size at least . *. *: every matching in contains at most a single hyperedge.


Minimal transversals

A vertex-cover (transversal) is called ''minimal'' if no proper subset of is a transversal. The ''transversal hypergraph'' of is the hypergraph whose hyperedge set consists of all minimal-transversals of {{mvar, H. Computing the transversal hypergraph has applications in
combinatorial optimization Combinatorial optimization is a subfield of mathematical optimization that consists of finding an optimal object from a finite set of objects, where the set of feasible solutions is discrete or can be reduced to a discrete set. Typical combi ...
, in
game theory Game theory is the study of mathematical models of strategic interactions among rational agents. Myerson, Roger B. (1991). ''Game Theory: Analysis of Conflict,'' Harvard University Press, p.&nbs1 Chapter-preview links, ppvii–xi It has appli ...
, and in several fields of
computer science Computer science is the study of computation, automation, and information. Computer science spans theoretical disciplines (such as algorithms, theory of computation, information theory, and automation) to Applied science, practical discipli ...
such as
machine learning Machine learning (ML) is a field of inquiry devoted to understanding and building methods that 'learn', that is, methods that leverage data to improve performance on some set of tasks. It is seen as a part of artificial intelligence. Machine ...
, indexing of databases, the
satisfiability problem In mathematical logic, a formula is ''satisfiable'' if it is true under some assignment of values to its variables. For example, the formula x+3=y is satisfiable because it is true when x=3 and y=6, while the formula x+1=x is not satisfiable ove ...
, data mining, and computer
program optimization In computer science, program optimization, code optimization, or software optimization, is the process of modifying a software system to make some aspect of it work more efficiently or use fewer resources. In general, a computer program may be o ...
.


See also

*
Matching in hypergraphs In graph theory, a matching in a hypergraph is a set of hyperedges, in which every two hyperedges are disjoint. It is an extension of the notion of matching in a graph. Definition Recall that a hypergraph is a pair , where is a set of ve ...
– discusses also the duality between vertex-cover and matching.


References

Graph theory Hypergraphs