1 research outputs found

    Complexity of Computing the Anti-Ramsey Numbers for Paths

    Get PDF
    The anti-Ramsey numbers are a fundamental notion in graph theory, introduced in 1978, by Erd\" os, Simonovits and S\' os. For given graphs GG and HH the \emph{anti-Ramsey number} ar(G,H)\textrm{ar}(G,H) is defined to be the maximum number kk such that there exists an assignment of kk colors to the edges of GG in which every copy of HH in GG has at least two edges with the same color. There are works on the computational complexity of the problem when HH is a star. Along this line of research, we study the complexity of computing the anti-Ramsey number ar(G,Pk)\textrm{ar}(G,P_k), where PkP_k is a path of length kk. First, we observe that when k=Ω(n)k = \Omega(n), the problem is hard; hence, the challenging part is the computational complexity of the problem when kk is a fixed constant. We provide a characterization of the problem for paths of constant length. Our first main contribution is to prove that computing ar(G,Pk)\textrm{ar}(G,P_k) for every integer k>2k>2 is NP-hard. We obtain this by providing several structural properties of such coloring in graphs. We investigate further and show that approximating ar(G,P3)\textrm{ar}(G,P_3) to a factor of n−1/2−ϵn^{-1/2 - \epsilon} is hard already in 33-partite graphs, unless P=NP. We also study the exact complexity of the precolored version and show that there is no subexponential algorithm for the problem unless ETH fails for any fixed constant kk. Given the hardness of approximation and parametrization of the problem, it is natural to study the problem on restricted graph families. We introduce the notion of color connected coloring and employing this structural property. We obtain a linear time algorithm to compute ar(G,Pk)\textrm{ar}(G,P_k), for every integer kk, when the host graph, GG, is a tree
    corecore