- Source: Rainbow-independent set
- Diskografi Ayumi Hamasaki
- Liga Utama Inggris
- Lewis Hamilton
- NewJeans
- Harry Styles
- Daftar film terlaris
- Kylie Jenner
- Simon Russell Beale
- Apple Inc.
- Christian Eriksen
- Rainbow-independent set
- Tom Clancy's Rainbow Six
- Rainbow
- In Rainbows
- 3-dimensional matching
- Independent State of Rainbow Creek
- Gasoline Rainbow
- Line graph
- Over the Rainbow
- Geoffrey Hayes
In graph theory, a rainbow-independent set (ISR) is an independent set in a graph, in which each vertex has a different color.
Formally, let G = (V, E) be a graph, and suppose vertex set V is partitioned into m subsets V1, …, Vm, called "colors". A set U of vertices is called a rainbow-independent set if it satisfies both the following conditions:
It is an independent set – every two vertices in U are not adjacent (there is no edge between them);
It is a rainbow set – U contains at most a single vertex from each color Vi.
Other terms used in the literature are independent set of representatives, independent transversal, and independent system of representatives.
As an example application, consider a faculty with m departments, where some faculty members dislike each other. The dean wants to construct a committee with m members, one member per department, but without any pair of members who dislike each other. This problem can be presented as finding an ISR in a graph in which the nodes are the faculty members, the edges describe the "dislike" relations, and the subsets V1, …, Vm are the departments.
Variants
It is assumed for convenience that the sets V1, …, Vm are pairwise-disjoint. In general the sets may intersect, but this case can be easily reduced to the case of disjoint sets: for every vertex x, form a copy of x for each i such that Vi contains x. In the resulting graph, connect all copies of x to each other. In the new graph, the Vi are disjoint, and each ISR corresponds to an ISR in the original graph.
ISR generalizes the concept of a system of distinct representatives (SDR, also known as transversal). Every transversal is an ISR where in the underlying graph, all and only copies of the same vertex from different sets are connected.
Existence of rainbow-independent sets
There are various sufficient conditions for the existence of an ISR.
= Condition based on vertex degree
=Intuitively, when the departments Vi are larger, and there is less conflict between faculty members, an ISR should be more likely to exist. The "less conflict" condition is represented by the vertex degree of the graph. This is formalized by the following theorem:: Thm.2 If the degree of every vertex in G is at most d, and the size of each color-set is at least 2d, then G has an ISR. The 2d is best possible: there are graph with vertex degree k and colors of size 2d – 1 without an ISR. But there is a more precise version in which the bound depends both on d and on m.
= Condition based on dominating sets
=Below, given a subset S of colors (a subset of {V1, ..., Vm} ), we denote by US the union of all subsets in S (all vertices whose color is one of the colors in S), and by GS the subgraph of G induced by US. The following theorem describes the structure of graphs that have no ISR but are edge-minimal, in the sense that whenever any edge is removed from them, the remaining graph has an ISR. If G has no ISR, but for every edge e in E, G-e has an ISR, then for every edge e = (x, y) in E, there exists a subset S of the colors {V1, …, Vm}, and a set Z of edges of GS, such that:
The vertices x and y are both in US;
The edge e = (x, y) is in Z;
The set of vertices adjacent to Z dominates GS;
|Z| ≤ |S| − 1;
Z is a matching – no two edges of it are adjacent to the same vertex.
= Hall-type condition
=Below, given a subset S of colors (a subset of {V1, …, Vm} ), an independent set IS of GS is called special for S if for every independent subset J of vertices of GS of size at most |S| − 1, there exists some v in IS such that J ∪ {v} is also independent. Figuratively, IS is a team of "neutral members" for the set S of departments, that can augment any sufficiently small set of non-conflicting members, to create a larger such set. The following theorem is analogous to Hall's marriage theorem:If, for every subset S of colors, the graph GS contains an independent set IS that is special for S, then G has an ISR.Proof idea. The theorem is proved using Sperner's lemma.: Thm.4.2 The standard simplex with m endpoints is assigned a triangulation with some special properties. Each endpoint i of the simplex is associated with the color-set Vi, each face {i1, …, ik} of the simplex is associated with a set S = {Vi1, …, Vik} of colors. Each point x of the triangulation is labeled with a vertex g(x) of G such that: (a) For each point x on a face S, g(x) is an element of IS – the special independent set of S. (b) If points x and y are adjacent in the 1-skeleton of the triangulation, then g(x) and g(y) are not adjacent in G. By Sperner's lemma, there exists a sub-simplex in which, for each point x, g(x) belongs to a different color-set; the set of these g(x) is an ISR.
The above theorem implies Hall's marriage condition. To see this, it is useful to state the theorem for the special case in which G is the line graph of some other graph H; this means that every vertex of G is an edge of H, and every independent set of G is a matching in H. The vertex-coloring of G corresponds to an edge-coloring of H, and a rainbow-independent-set in G corresponds to a rainbow-matching in H. A matching IS in HS is special for S, if for every matching J in HS of size at most |S| − 1, there is an edge e in IS such that J ∪ {e} is still a matching in HS.
Let H be a graph with an edge-coloring. If, for every subset S of colors, the graph HS contains a matching MS that is special for S, then H has a rainbow-matching.
Let H = (X + Y, E) be a bipartite graph satisfying Hall's condition. For each vertex i of X, assign a unique color Vi to all edges of H adjacent to i. For every subset S of colors, Hall's condition implies that S has at least |S| neighbors in Y, and therefore there are at least |S| edges of H adjacent to distinct vertices of Y. Let IS be a set of |S| such edges. For any matching J of size at most |S| − 1 in H, some element e of IS has a different endpoint in Y than all elements of J, and thus J ∪ {e} is also a matching, so IS is special for S. The above theorem implies that H has a rainbow matching MR. By definition of the colors, MR is a perfect matching in H.
Another corollary of the above theorem is the following condition, which involves both vertex degree and cycle length:: Thm.4.3 If the degree of every vertex in G is at most 2, and the length of each cycle of G is divisible by 3, and the size of each color-set is at least 3, then G has an ISR.Proof. For every subset S of colors, the graph GS contains at least 3|S| vertices, and it is a union of cycles of length divisible by 3 and paths. Let IS be an independent set in GS containing every third vertex in each cycle and each path. So |IS| contains at least 3|S|⁄3 = |S| vertices. Let J be an independent set in GS of size at most |S| – 1. Since the distance between each two vertices of IS is at least 3, every vertex of J is adjacent to at most one vertex of IS. Therefore, there is at least one vertex of IS which is not adjacent to any vertex of J. Therefore IS is special for S. By the previous theorem, G has an ISR.
= Condition based on homological connectivity
=One family of conditions is based on the homological connectivity of the independence complex of subgraphs. To state the conditions, the following notation is used:
Ind(G) denotes the independence complex of a graph G (that is, the abstract simplicial complex whose faces are the independent sets in G).
ηH(X) denotes the homological connectivity of a simplicial complex X (i.e., the largest integer k such that the first k homology groups of X are trivial), plus 2.
[m] is the set of indices of colors, {1, …, n}. For any subset J of [m], VJ is the union of colors VJ for J in J.
G[VJ] is the subgraph of G induced by the vertices in VJ.
The following condition is implicit in and proved explicitly in. If, for all subsets J of [m]:
η
H
(
Ind
(
G
[
V
J
]
)
)
≥
|
J
|
{\displaystyle \eta _{H}({\text{Ind}}(G[V_{J}]))\geq |J|}
then the partition V1, …, Vm admits an ISR.As an example, suppose G is a bipartite graph, and its parts are exactly V1 and V2. In this case [m] = {1,2} so there are four options for J:
J = {}: then G[J] = {} and Ind(G[J]) = {} and the connectivity is infinite, so the condition holds trivially.
J = {1}: then G[J] is a graph with vertices V1 and no edges. Here all vertex sets are independent, so Ind(G[J]) is the power set of V1, i.e., it has a single n-simplex (and all its subsets). It is known that a single simplex is k-connected for all integers k, since all its reduced homology groups are trivial (see simplicial homology). Hence the condition holds.
J = {2}: this case is analogous to the previous one.
J = {1,2}: then G[J] = G, and Ind(G) contains two simplices V1 and V2 (and all their subsets). The condition ηH(Ind(G)) ≥ 2 is equivalent to the condition that the homological connectivity of Ind(G) is at least 0, which is equivalent to the condition that
H
0
~
(
Ind
(
G
)
)
{\displaystyle {\tilde {H_{0}}}({\text{Ind}}(G))}
is the trivial group. This holds if-and-only-if the complex Ind(G) contains a connection between its two simplices V1 and V2. Such a connection is equivalent to an independent set in which one vertex is from V1 and one is from V2. Thus, in this case, the condition of the theorem is not only sufficient but also necessary.
= Other conditions
=Every properly coloured triangle-free graph of chromatic number x contains a rainbow-independent set of size at least x⁄2.
Several authors have studied conditions for existence of large rainbow-independent sets in various classes of graphs.
Computation
The ISR decision problem is the problem of deciding whether a given graph G = (V, E) and a given partition of V into m colors admits a rainbow-independent set. This problem is NP-complete. The proof is by reduction from the 3-dimensional matching problem (3DM). The input to 3DM is a tripartite hypergraph (X + Y + Z, F), where X, Y, Z are vertex-sets of size m, and F is a set of triplets, each of which contains a single vertex of each of X, Y, Z. An input to 3DM can be converted into an input to ISR as follows:
For each edge (x,y,z) in F, there is a vertex vx,y,z in V;
For each vertex z in Z, let Vz = {vx,y,z | x ∈ X, y ∈ Y}.
For each x, y1, y2, z1, z2, there is an edge (vx, y1, z1, vx, y2, z2) in E;
For each x1, x2, y, z1, z2, there is an edge (vx1, y, z1, vx2, y, z2) in E;
In the resulting graph G = (V, E), an ISR corresponds to a set of triplets (x,y,z) such that:
Each triplet has a different z value (since each triplet belongs to a different color-set Vz);
Each triplet has a different x value and a different y value (since the vertices are independent).
Therefore, the resulting graph admits an ISR if and only if the original hypergraph admits a 3DM.
An alternative proof is by reduction from SAT.
Related concepts
If G is the line graph of some other graph H, then the independent sets in G are the matchings in H. Hence, a rainbow-independent set in G is a rainbow matching in H. See also matching in hypergraphs.
Another related concept is a rainbow cycle, which is a cycle in which each vertex has a different color.
When an ISR exists, a natural question is whether there exist other ISRs, such that the entire set of vertices is partitioned into disjoint ISRs (assuming the number of vertices in each color is the same). Such a partition is called strong coloring.
Using the faculty metaphor:
A system of distinct representatives is a committee of distinct members, with or without conflicts.
An independent set is a committee with no conflict.
An independent transversal is a committee with no conflict, with exactly one member from each department.
A graph coloring is a partitioning of the faculty members into committees with no conflict.
A strong coloring is a partitioning of the faculty members into committees with no conflict and with exactly one member from each department. Thus this problem is sometimes called the happy dean problem.
A rainbow clique or a colorful clique is a clique in which every vertex has a different color. Every clique in a graph corresponds to an independent set in its complement graph. Therefore, every rainbow clique in a graph corresponds to a rainbow-independent set in its complement graph.
See also
Graph coloring
List coloring
Rainbow coloring
Rainbow-colorable hypergraph
Independence complex