betaFeedback

WorksComputer Science

Parameterized algorithms for representing graphs as intersections of threshold graphs

Abstract

A graph is called a threshold graph if there is an assignment of real valued weights to its vertices such that two vertices have an edge between them if and only if the sum of the weights of the two vertices is above a certain `threshold value'. We will denote the class of all threshold graphs as THTH. For a graph G=(V,E)G=(V,E), if for some integer t≥0t\geq 0, there are tt many threshold graphs {Gi=(V,Ei)}i∈[t]\{G_i=(V,E_i)\}_{i\in [t]} such that we have E=E1∩E2∩⋯∩EtE=E_1\cap E_2\cap \cdots \cap E_t, then we say that the collection of threshold graphs {Gi=(V,Ei)}i∈[t]\{G_i=(V,E_i)\}_{i\in [t]} forms a THTH-representation of GG of size tt. \emph{The intersection dimension of GG with respect to threshold graphs} (denoted as dimTH(G)dim_{TH}(G)) is the smallest non-negative integer tt such that there is a THTH-representation of GG of size tt. It is known that for a graph GG and integer t>0t>0, the problem of deciding whether dimTH(G)≤tdim_{TH}(G)\leq t is NP-complete even for t=3t=3. In this paper, we study this problem in the framework of parameterized algorithms. We consider the vertex cover number and the cluster vertex deletion number as our parameters. We give a FPT algorithm for determining an optimal THTH-representation of a graph when parameterized by its vertex cover number. Our main result is an efficient parameterized approximation scheme for this problem when parameterized by the cluster vertex deletion number of GG.

2012 ACM Subject Classification Theory of computation → Fixed parameter tractability

Acknowledgements ChatGPT-6 Astra was used to generate Figure 1.

An example of an interval representation of a threshold graph

Figure 1. An example of an interval representation of a threshold graph. Filled dots are singleton intervals. All intervals lie on the same real line; rows are offset only for readability. Pale lines and dashed projections are guides, not additional intervals.

Introduction

In this paper all graphs are finite, simple and undirected. We will denote a graph GG defined on the vertex set VV and edge set EE as G=(V,E)G=(V,E).

The study of dimensional properties of graphs was initiated by Cozzens and Roberts [6], who defined it to be a property PP such that any graph can be represented as the intersection of the edge sets of graphs (defined on the same set of vertices) that have the property PP. The study of dimensional properties of graphs was continued by Kratochvil and Tuza [9], who showed that these are exactly the classes of graphs that contain all complete graphs and all graphs obtainable by removing one edge of a complete graph. Using this observation, one can define the intersection dimension of graphs as follows.

Definition 1 (Intersection Dimension of a Graph [9]). Let G=(V,E)G=(V,E) be a graph and A\mathcal{A} be a class of graphs that contains KnK_n and Kn∖e ∀n∈NK_n\setminus e\ \forall n\in\mathbb{N}. The intersection dimension of GG with respect to A\mathcal{A} (denoted as dim⁡A(G)\dim_{\mathcal{A}}(G)) is defined as follows:

dim⁡A(G)=min⁡{t:∃ a collection of graphs {Gi=(V,Ei)}i∈[t]⊂A such that E=⋂i=1tEi}.\dim_{\mathcal{A}}(G)=\min\left\{t:\exists\text{ a collection of graphs }\{G_i=(V,E_i)\}_{i\in[t]}\subset\mathcal{A}\text{ such that }E=\bigcap_{i=1}^{t}E_i\right\}.

If GG is a complete graph, we take dim⁡A(G)=0\dim_{\mathcal{A}}(G)=0 by convention. For a graph GG, we will study dim⁡A(G)\dim_{\mathcal{A}}(G) when A\mathcal{A} is the class of threshold graphs, denoted by THTH. The class of

threshold graphs was introduced by Chvátal and Hammer [4] and has applications in linear programming and set packing (see [11] for a survey on threshold graphs). Several bounds on this parameter have been established, in terms of its treewidth, pathwidth, vertex cover number, maximum degree, and degeneracy [3, 8]. Bounds for some special classes of graphs like planar graphs, chordal graphs, AT-free graphs, and co-comparability graphs have also been derived [3, 8].

The problem of determining the intersection dimension of a graph with respect to threshold graphs is computationally difficult, in general. Yannakakis [14] showed that for any integer k≥3k \ge3, the problem of determining whether a graph GG has dim⁡TH(G)≤k\operatorname{dim}_{TH}(G) \le k is NP-complete. However, there is a polynomial time algorithm that can determine whether dim⁡TH(G)≤2\operatorname{dim}_{TH}(G) \le2 [10, 12, 13]. The computational intractability of this problem opens way for approaching this problem from the perspective of parameterized complexity. The study of the intersection dimension of graphs from the view of parameterized algorithms remains quite unexplored. Note that since it is NP-complete to determine if a graph GG has dim⁡TH(G)≤3\operatorname{dim}_{TH}(G) \le3, parameterization with respect to dim⁡TH(G)\operatorname{dim}_{TH}(G) is para-NP-hard. Therefore, we will use other parameters like vertex cover number and cluster vertex deletion number to obtain parameterized algorithms. To the best of our knowledge, our results are the first of their kind.

A cluster vertex deletion set is a set XX for which G−XG-X is a cluster graph (a cluster graph is a disjoint union of complete graphs). The cardinality of a smallest cluster vertex deletion set of a graph GG is called the cluster vertex deletion number of GG, denoted as cvd⁡(G)\operatorname{cvd}(G). A vertex cover is a set XX such that G−XG-X is a graph with no edges. The cardinality of a smallest vertex cover is called the vertex cover number of GG, denoted as ν(G)\nu(G). Fix integers k,t≥0k,t \ge0. It was shown in [7] that the graph classes Gvck={G:ν(G)≤k}\mathcal{G}^{k}_{vc}=\{G:\nu(G)\le k\} and Gcvdk={G:cvd⁡(G)≤k}\mathcal{G}^{k}_{cvd}=\{G:\operatorname{cvd}(G)\le k\} are well-quasi ordered by induced subgraphs.1 Let H\mathcal{H} be a hereditary class of graphs. Let Hvck=Gvck∩H\mathcal{H}^{k}_{vc}=\mathcal{G}^{k}_{vc}\cap\mathcal{H} and Hcvdk=Gcvdk∩H\mathcal{H}^{k}_{cvd}=\mathcal{G}^{k}_{cvd}\cap\mathcal{H}. For Hvck\mathcal{H}^{k}_{vc}, there is a finite set of minimal forbidden graphs in Gvck\mathcal{G}^{k}_{vc} characterizing its membership. This is because the forbidden graphs for Hvck\mathcal{H}^{k}_{vc} that belong to Gvck\mathcal{G}^{k}_{vc} form an antichain in Gvck\mathcal{G}^{k}_{vc} and no such antichain can be infinite because of well quasi orderedness. Similarly, for Hcvdk\mathcal{H}^{k}_{cvd}, there is a finite set of minimal forbidden graphs in Gcvdk\mathcal{G}^{k}_{cvd} characterizing its membership. The class of graphs GG with dim⁡TH(G)≤t\operatorname{dim}_{TH}(G)\le t is hereditary. This demonstrates the existence of non-uniform algorithms to recognize graphs that are representable as the intersection of tt many threshold graphs given that these graphs belong to Gvck\mathcal{G}^{k}_{vc} or Gcvdk\mathcal{G}^{k}_{cvd}. The aforementioned algorithms can be made uniform by bounding the possible order of the minimal forbidden graphs and exhaustively searching for these forbidden graphs. We devise algorithms that, in spirit, do exactly this.

Our Results

Suppose GG is a graph on nn vertices.

  1. We prove that the problem of computing a THTH-representation of GG of minimum size is fixed parameter tractable when parameterized by the vertex cover of GG.

  1. We prove that the problem of computing a THTH-representation of GG of minimum size is fixed parameter tractable when parameterized by both the cluster vertex deletion number

of GG and dim⁡TH(G)\operatorname{dim}_{TH}(G). We also provide an efficient parameterized approximation scheme for computing a THTH-representation of any graph GG when parameterized by solely its cluster vertex deletion number.

Preliminaries

All the graphs in this paper are finite and simple. For a graph GG, we denote by G‾\overline{G} the complement graph of GG, i.e., the graph that has the same set of vertices V(G)V(G) but with two distinct vertices adjacent if and only if they are not adjacent in GG. Given graphs GG and HH, we say that graph HH is an induced subgraph of GG if V(H)⊆V(G)V(H) \subseteq V(G) and E(H)={uv∈E(G):u,v∈V(H)}E(H) = \{uv \in E(G): u,v \in V(H)\}. Given a graph GG and a subset of vertices A⊆V(G)A \subseteq V(G), the graph induced on AA in GG is the graph with AA as the set of vertices and the set {uv∈E(G):u,v∈A}\{uv \in E(G): u,v \in A\} as the set of edges. Given graphs GG and HH, and a subset of vertices A⊆V(G)A \subseteq V(G), we say that AA induces the graph HH in GG if the graph induced on AA in GG is isomorphic to HH. For a positive integer xx, we will use the notation [x][x] to indicate the set {1,2,…,x}\{1,2,\ldots,x\}. We will denote by PnP_n, CnC_n, and KnK_n the path, cycle, and complete graph on nn vertices, respectively.

A collection of threshold graphs {Gi=(V,Ei)}i∈[t]\{G_i=(V,E_i)\}_{i\in[t]} such that E1∩E2⋯∩Et=EE_1 \cap E_2 \cdots\cap E_t = E will be called a THTH-representation of GG of size tt or simply a THTH-representation of GG when the size tt is clear from the context.

Threshold graphs have many definitions. The following definition will be used most frequently in this paper.

Definition 2. Let s∈R≥0s \in\mathbb{R}_{\ge0} and let VV be a finite set. Let w:V→R≥0w: V \to\mathbb{R}_{\ge0} be a function. We define Γ(s,w)\Gamma(s,w) to be the graph such that the vertex set of Γ(s,w)\Gamma(s,w) is VV and for distinct vertices u,v∈Vu,v \in V, uvuv is an edge in Γ(s,w)\Gamma(s,w) if and only if w(u)+w(v)≥sw(u)+w(v) \ge s. A graph G=(V,E)G=(V,E) is said to be a threshold graph if for some s∈R≥0s \in\mathbb{R}_{\ge0} and w:V→R≥0w: V \to\mathbb{R}_{\ge0}, GG is isomorphic to Γ(s,w)\Gamma(s,w). In such a case, Γ(s,w)\Gamma(s,w) is said to be a threshold representation of GG. For a threshold representation Γ(s,w)\Gamma(s,w) of GG, ss is called its threshold value, and ww is called its weight function. Note that we will always implicitly assume that the vertex set of Γ(s,w)\Gamma(s,w) is the same as the domain of ww. The class of all threshold graphs is denoted by THTH.

Observation 3. Let s∈R≥0s \in\mathbb{R}_{\ge0} and let VV be a finite set. Let w:V→R≥0w: V \to\mathbb{R}_{\ge0} be a function. Let w′:V→R≥0w': V \to\mathbb{R}_{\ge0} be defined as w′(v)=min⁡{w(v),s}w'(v)=\min\{w(v),s\}. Then Γ(s,w)≅Γ(s,w′)\Gamma(s,w) \cong\Gamma(s,w').

Due to Observation 3, throughout this paper we will assume that the weight function of a threshold representation takes values smaller than or equal to its threshold value.

The following alternate definition will also be used.

Definition 4. A threshold graph is a graph that can be constructed from a one-vertex graph iteratively by either adding a single isolated vertex to the graph or adding a single vertex that is connected to all other previously added vertices.

We also have the following characterizing theorem for threshold graphs.

Theorem 5 ([4]). THTH is precisely the class of (2K2,C4,P4)(2K_2,C_4,P_4)-free graphs.

Suppose G=(V,E)G=(V,E) is a graph. A related problem in this context is the edge covering problem that asks for the minimum number of threshold graphs {Gi=(V,Ei)}i∈[t]\{G_i=(V,E_i)\}_{i\in[t]} such that E=⋃i∈[t]EiE=\bigcup_{i\in[t]}E_i. This number is the threshold cover number of GG, denoted as cov⁡TH(G)\operatorname{cov}_{TH}(G). Observe that computing the intersection dimension of GG with respect to threshold graphs is equivalent to computing the threshold cover number of G‾\overline{G} (the complement graph of any threshold graph is a threshold graph and therefore, if there exist threshold graphs {Gi′=(V,Ei′)}i∈[t]\{G'_i=(V,E'_i)\}_{i\in[t]} with E=⋂i∈[t]Ei′E=\bigcap_{i\in[t]}E'_i, then for i∈[t]i\in[t], we can assign Gi=Gi′‾G_i=\overline{G'_i} and get E‾=⋃i∈[t]Ei′‾\overline{E}=\bigcup_{i\in[t]}\overline{E'_i}.

The threshold cover number of various graphs was studied by Cozzens and Leibowitz [5] and many bounds were provided. We will be using the following result in our proofs.

Theorem 6. ([5]). For k≥2k\ge2, suppose K(m1,m2,…,mk−1,mk)K(m_1,m_2,\ldots,m_{k-1},m_k) be the complete kk-partite graph with m1≤m2≤⋯≤mk−1≤mkm_1\le m_2\le\cdots\le m_{k-1}\le m_k. Then the threshold cover number of K(m1,m2,…,mk−1,mk)K(m_1,m_2,\ldots,m_{k-1},m_k) is mk−1m_{k-1}.

Note that there are at most 2O(nlog⁡n)2^{O(n\log n)} threshold graphs on nn vertices and the set of all threshold graphs can be enumerated in 2O(nlog⁡n)nO(1)2^{O(n\log n)}n^{O(1)} time. This is because threshold graphs are a subclass of interval graphs and there are at most 2O(nlog⁡n)2^{O(n\log n)} interval graphs that can be enumerated in 2O(nlog⁡n)nO(1)2^{O(n\log n)}n^{O(1)} time (see the discussion in Section 2.1 of [1]). Since the class THTH is recognizable in time polynomial in nn for any graph GG on nn vertices, we can simply enumerate all graphs containing GG and determine if they belong to THTH in time 2O(nlog⁡n)nO(1)2^{O(n\log n)}n^{O(1)} and we can pick tt many graphs from this collection that form a THTH-representation of GG. This step requires us to guess a tt and enumerate all possible (2O(nlog⁡n)t)≤2O(ntlog⁡n)nO(1)\binom{2^{O(n\log n)}}{t}\le2^{O(nt\log n)}n^{O(1)} choices and check if intersection of the edge sets of these graphs is equal to the edge set of GG.

An FPT algorithm with respect to vertex cover

Suppose G=(V,E)G=(V,E) is a graph and suppose XX is a vertex cover of GG. For every subset A⊆XA\subseteq X, we define the set SAS_A as follows: for u,v∈V∖Xu,v\in V\setminus X, if N(u)=N(v)=AN(u)=N(v)=A we put them in the set SAS_A.

Definition 7. We define GvcG_{\mathrm{vc}} to be graph obtained by deleting all but 22 vertices from SAS_A for each A⊆XA\subseteq X with ∣SA∣≥2|S_A|\ge2. We will denote the set so obtained from SAS_A by SA′S'_A.

Since there are only 2∣X∣2^{|X|} many subsets of XX, the total number of vertices in GvcG_{\mathrm{vc}} is at most 2∣X∣+1+∣X∣2^{|X|+1}+|X|. We will show that for any graph GG, dim⁡TH(G)=dim⁡TH(Gvc)\dim_{TH}(G)=\dim_{TH}(G_{\mathrm{vc}}) and that we can obtain an optimal THTH-representation of GG from an optimal THTH-representation GvcG_{\mathrm{vc}} in polynomial time.

Lemma 8. Suppose dim⁡TH(Gvc)≤t′\dim_{TH}(G_{\mathrm{vc}})\le t'. Then there is a THTH-representation {Γ(si,wi)}i∈[t′]\{\Gamma(s_i,w_i)\}_{i\in[t']} of GvcG_{\mathrm{vc}} such that ∀j∈[t′]\forall j\in[t'], ∀A⊆X\forall A\subseteq X and ∀u,v∈SA′\forall u,v\in S'_A, the weight function wjw_j of Γ(sj,wj)\Gamma(s_j,w_j) satisfies wj(u)=wj(v)w_j(u)=w_j(v).

Proof. Let {Γ(si,wi′)}i∈[t′]\{\Gamma(s_i,w'_i)\}_{i\in[t']} be a THTH-representation of GvcG_{\mathrm{vc}}. For j∈[t′]j\in[t'], ∀A⊆X\forall A\subseteq X and ∀u∈SA′\forall u\in S'_A define wj(u):=min⁡v∈SA′wj′(v)w_j(u):=\min_{v\in S'_A}w'_j(v) and for x∈Xx\in X, define wj(x):=wj′(x)w_j(x):=w'_j(x). It is clear that the graphs {Γ(si,wi)}i∈[t′]\{\Gamma(s_i,w_i)\}_{i\in[t']} satisfy the requirements of the theorem. We claim that it is a THTH-representation of GvcG_{\mathrm{vc}}.

For j∈[t′]j\in[t'], it is clear that Γ(sj,wj)\Gamma(s_j,w_j) is a subgraph of Γ(sj,wj′)\Gamma(s_j,w'_j) because the weights of vertices in SA′S'_A are decreased and no new edges could have formed in such a process. Also Γ(sj,wj)\Gamma(s_j,w_j) is a supergraph of GvcG_{\mathrm{vc}} because the neighborhood in Γ(sj,wj′)\Gamma(s_j,w'_j) of any vertex vv in SA′S'_A contains NGvc(SA′)N_{G_{\mathrm{vc}}}(S'_A), including the vertex with minimum weight.

Lemma 9. Let G=(V,E)G=(V,E) be a graph. From any THTH-representation of GvcG_{\mathrm{vc}}, we can construct a THTH-representation of GG of the same size. In particular, we have dim⁡TH(G)=dim⁡TH(Gvc)\dim_{TH}(G)=\dim_{TH}(G_{\mathrm{vc}}).

Proof. Let dim⁡TH(Gvc)≤t′\dim_{TH}(G_{vc}) \le t'. Consider a THTH-representation {Γ(si,wi′)}i∈[t′]\{\Gamma(s_i,w'_i)\}_{i\in[t']} of GvcG_{vc}. By Lemma 8, we can assume that ∀j∈[t′]\forall j\in[t'], ∀A⊆X\forall A\subseteq X and ∀u,v∈SA′\forall u,v\in S'_A we have wj′(u)=wj′(v)w'_j(u)=w'_j(v).

For A⊆XA\subseteq X that satisfies SA′≠∅S'_A\ne\emptyset, we will denote by uAu_A an arbitrarily picked, but fixed, element of SA′S'_A. For j∈[t′]j\in[t'], define the weight function wjw_j as follows: for A⊆XA\subseteq X and for x∈SAx\in S_A, wj(x):=wj′(uA)w_j(x):=w'_j(u_A) and for x∈Xx\in X, wj(x):=wj′(x)w_j(x):=w'_j(x). We claim that {Γ(si,wi)}i∈[t′]\{\Gamma(s_i,w_i)\}_{i\in[t']} is a THTH-representation of GG.

Let x∈V∖Xx\in V\setminus X and y∈Xy\in X. Suppose xy∈Exy\in E. Let x∈SAx\in S_A for some A⊆XA\subseteq X. Then uAyu_Ay is an edge in GvcG_{vc} as NG(x)=NG(uA)=NGvc(uA)N_G(x)=N_G(u_A)=N_{G_{vc}}(u_A). Thus, ∀j∈[t′]\forall j\in[t'], wj(x)+wj(y)=wj′(uA)+wj′(y)≥sjw_j(x)+w_j(y)=w'_j(u_A)+w'_j(y)\ge s_j. Now, suppose xy∉Exy\notin E. If for some A⊆XA\subseteq X we have x∈SAx\in S_A, then ∃i∈[t′]\exists i\in[t'] such that wi′(uA)+wi′(y)<siw'_i(u_A)+w'_i(y)<s_i since {Γ(si,wi′)}i∈[t′]\{\Gamma(s_i,w'_i)\}_{i\in[t']} is a THTH-representation of GvcG_{vc}. Consequently, wi(x)+wi(y)=wi′(uA)+wi′(y)<siw_i(x)+w_i(y)=w'_i(u_A)+w'_i(y)<s_i.

Finally, suppose for a pair of (not necessarily distinct) subsets A,B⊆XA,B\subseteq X we have x∈SA,y∈SBx\in S_A,y\in S_B with x≠yx\ne y. If A≠BA\ne B, ∃j∈[t′]\exists j\in[t'] such that wj′(uA)+wj′(uB)<sjw'_j(u_A)+w'_j(u_B)<s_j as {Γ(si,wi′)}i∈[t′]\{\Gamma(s_i,w'_i)\}_{i\in[t']} is a THTH-representation of GvcG_{vc}. Consequently, wj(x)+wj(y)=wj′(uA)+wj′(uB)<sjw_j(x)+w_j(y)=w'_j(u_A)+w'_j(u_B)<s_j. If A=BA=B, then x,y∈SAx,y\in S_A and therefore, ∣SA′∣≥2\lvert S'_A\rvert\ge2. Let u∈SA′∖{uA}u\in S'_A\setminus\{u_A\}. Then ∃j∈[t′]\exists j\in[t'] such that wj′(uA)+wj′(u)<sjw'_j(u_A)+w'_j(u)<s_j. Consequently, wj(x)+wj(y)=wj′(uA)+wj′(uA)=wj′(uA)+wj′(u)<sjw_j(x)+w_j(y)=w'_j(u_A)+w'_j(u_A)=w'_j(u_A)+w'_j(u)<s_j, where the second equality is because of Lemma 8.

Hence, {Γ(si,wi)}i∈[t′]\{\Gamma(s_i,w_i)\}_{i\in[t']} is a THTH-representation of GG. Clearly this constructive procedure is also polynomial time.

It was shown in [8] that for any graph GG with minimum vertex cover number k≥1k\ge1, we have dim⁡TH(G)≤k\dim_{TH}(G)\le k. By the discussion in Section 2, the optimal THTH-representation of GvcG_{vc} can be computed in 2O(k22k)nO(1)2^{O(k^2 2^k)}n^{O(1)} time. From this THTH-representation, we can obtain an optimal THTH-representation for GvcG_{vc} that satisfies the statement of Lemma 8 in polynomial time. This THTH-representation can be extended to an optimal THTH-representation of GG in polynomial time due to Lemma 9. Hence, we have the following theorem.

Theorem 10. For a graph GG on nn vertices with vertex cover number kk, there is an algorithm that constructs an optimal THTH-representation of GG in time 2O(k22k)nO(1)2^{O(k^2 2^k)}n^{O(1)}.

An efficient parameterized approximation scheme with respect to cluster vertex deletion number

Suppose GG is a graph and XX is a cluster vertex deletion set of GG. Let C\mathcal{C} be the family of connected components of G−XG-X. Since XX is a cluster vertex deletion set of GG, C\mathcal{C} is a family of cliques. We will say that cliques C,C′∈CC,C'\in\mathcal{C} are equivalent, denoted by C∼C′C\sim C', if there is a bijective function f:V(C)→V(C′)f:V(C)\to V(C') such that ∀u∈V(C)\forall u\in V(C), N(u)∩X=N(f(u))∩XN(u)\cap X=N(f(u))\cap X. It is easy to see that ∼\sim defines an equivalence relation on C\mathcal{C}. We will denote the equivalence class containing C∈CC\in\mathcal{C} by ⟨C⟩\langle C\rangle.

In this section, the general proof strategy is to produce a kernel for GG by bounding the number of vertices in each clique and the number of cliques in each equivalence class under ∼\sim. In [2], the authors show that the problem of finding the box-representation of a graph is FPT when parameterized by the cluster vertex deletion number. We will abstract out the key combinatorial idea in their proof and use it in our context to bound the number of cliques in each equivalence class under ∼\sim. To bound the number of vertices in each clique, we will analyze the structural properties of the graph class THTH.

We first make some observations.

Observation 11. Suppose Γ(s,w)\Gamma(s,w) is a threshold graph and CC is a clique of Γ(s,w)\Gamma(s,w). Then, there can be at most one vertex v∈V(C)v\in V(C) such that w(v)<s/2w(v)<s/2.

Proof of Observation. Otherwise two vertices vv and v′v' are such that w(v)<s/2w(v) < s/2 and w(v′)<s/2w(v') < s/2. Consequently, w(v)+w(v′)<sw(v) + w(v') < s which is a contradiction to the fact that vv and v′v' belong to the same clique.

Observation 12. Suppose GG is a graph on 4 vertices a,b,c,da, b, c, d such that abab and cdcd are edges. If there is a matching MM of size 2 in G‾\overline{G}, then dim⁡TH(G)>1\dim_{\mathrm{TH}}(G) > 1.

Proof of Observation. We can always find a 2K22K_2, C4C_4 or P4P_4 in such a graph. By Theorem 5, GG cannot be a threshold graph.

Co-bipartite graphs are the graphs GG with the property that G‾\overline{G} is bipartite.

Theorem 13. Suppose G=(A,B,E)G = (A, B, E) is a co-bipartite graph. If kk is the vertex cover number of G‾\overline{G}, then dim⁡TH(G)=k\dim_{\mathrm{TH}}(G) = k. Furthermore, we can find a THTH-representation of GG of size kk in polynomial time.

Proof. Let MM be a maximum matching of G‾\overline{G}. If uv,u′v′∈Muv, u'v' \in M are distinct edges in G‾\overline{G}, then by Observation 12, no threshold graph that contains GG can contain the graph induced on uvu′v′uvu'v' (any threshold graph containing GG is also co-bipartite) as an induced subgraph. Therefore, each threshold graph containing GG can contain at most one element of MM as a non-edge. Therefore, dim⁡TH(G)≥k\dim_{\mathrm{TH}}(G) \ge k.

We will show that dim⁡TH(G)≤k\dim_{\mathrm{TH}}(G) \le k by covering G‾\overline{G} by kk many threshold graphs. Let XX be a minimum vertex cover of G‾\overline{G}. By a theorem of Kőnig, for a bipartite graph, the matching number of a graph is equal to its vertex cover number. Therefore, ∣X∣=k|X| = k. For every vertex v∈Xv \in X, define the threshold graph Gv′G'_v to be the graph induced by NG‾[v]N_{\overline{G}}[v] in G‾\overline{G}. Let GvG_v be the threshold graph obtained from Gv′G'_v by adding all the other vertices in GG as isolated vertices. Since XX is a vertex cover of G‾\overline{G}, the edges of G‾\overline{G} are all covered by the edges of the graphs {Gv}v∈X\{G_v\}_{v \in X}. Therefore, dim⁡TH(G)≤k\dim_{\mathrm{TH}}(G) \le k. The time taken to compute dim⁡TH(G)\dim_{\mathrm{TH}}(G) and a THTH-representation of GG is the time taken to find the minimum vertex cover of G‾\overline{G}. Since G‾\overline{G} is a bipartite graph, this can be done in polynomial time.

A threshold graph can have multiple threshold representations. The following theorem allows us to use a single representation for ease of exposition.

Lemma 14. Let kk be a positive integer. Suppose G=(V,E)G = (V, E) is a threshold graph and V′V' is a subset of VV of order kk. Then there is a threshold representation Γ(2k+3,w)\Gamma(2k + 3, w) of GG such that ∀v∈V−V′\forall v \in V - V', w(v)∉[2k+3]w(v) \notin[2k + 3] and ∀v∈V′\forall v \in V', w(v)∈[2k+3]∖{k+1,k+2}w(v) \in[2k + 3] \setminus\{k + 1, k + 2\}.

The proof of this Lemma has been moved to the appendix.

From this point on, we will take kk as the cardinality of a cluster vertex deletion set XX of a graph GG. Due to Lemma 14, we can assume that any threshold graph that contains GG as a subgraph must be of the form Γ(2k+3,w)\Gamma(2k + 3, w), where ww satisfies the conditions of Lemma 14.

Definition 15. Suppose G=(V,E)G = (V, E) is a graph and suppose w:V→Rw : V \to\mathbb{R} is a weight function. We define an indicator function c(w,⋅)c(w, \cdot) as c(w,v)=0c(w,v) = 0 if w(v)<12(2k+3)w(v) < \frac{1}{2}(2k + 3) and c(w,v)=1c(w,v) = 1 otherwise. We define the function g(w,⋅)g(w, \cdot) as g(w,v)=0g(w,v) = 0 if c(w,v)=0c(w,v) = 0 and g(w,v)=2k+3−w(v)g(w,v) = 2k + 3 - w(v) if c(w,v)=1c(w,v) = 1. Note that we will always implicitly assume that c(w,⋅)c(w,\cdot) and g(w,⋅)g(w,\cdot) are defined on the same domain as ww.

▶ Remark 16. When Γ(2k+3,w)\Gamma(2k + 3,w) is a representation of a threshold graph, the functions c(w,⋅)c(w,\cdot) and g(w,⋅)g(w,\cdot) encode important information about the behavior of the vertices of GG. In fact, if for a vertex vv, we know both the values c(w,v)c(w,v) and g(w,v)g(w,v), then we can easily deduce the value of w(v)w(v). We will be crucially using these two functions in our analysis.

The intuition behind using these functions comes from interval graphs. Every threshold graph with a representation Γ(s,w)\Gamma(s,w) has a representation as interval graphs as follows: (i) if a vertex vv has w(v)<s/2w(v)<s/2 in Γ(s,w)\Gamma(s,w), then we assign to it the point interval [w(v),w(v)][w(v),w(v)] and (ii) if a vertex vv in GG has w(v)≥s/2w(v)\ge s/2, we assign it the interval [s−w(v),s][s-w(v),s]. Assuming that ww takes distinct values, it is easy to check that such a representation is a valid interval representation of Γ(s,w)\Gamma(s,w) (see Figure 1). Note that the left endpoints of these intervals are exactly determined by g(w,⋅)g(w,\cdot) when s=2k+3s=2k+3. Most of our analysis using the functions g(w,⋅)g(w,\cdot) and c(w,⋅)c(w,\cdot) is done with Figure 1 in mind.

We can rehash the statement of Lemma 14 in a more useful way by stating it in terms of the function g(w,⋅)g(w,\cdot) and the cluster vertex deletion set as follows.

Corollary 17. Let kk be a positive integer. Suppose G=(V,E)G=(V,E) is a threshold graph and XX is a subset of GG of cardinality kk. Then there is a threshold representation Γ(2k+3,w)\Gamma(2k+3,w) of GG such that the following three conditions hold:

(i) g(w,⋅)g(w,\cdot) takes distinct values.

(ii) ∀v∈X\forall v\in X, g(w,v)∈[k]g(w,v)\in[k].

(iii) ∀v∈V−X\forall v\in V-X, ∃j∈[k+1]\exists j\in[k+1] such that j−1<g(w,v)<jj-1<g(w,v)<j.

We will say that two vertices uu and vv of GG have the same configuration in Γ(2k+3,w)\Gamma(2k+3,w) if ⌈g(w,u)⌉=⌈g(w,v)⌉\lceil g(w,u)\rceil=\lceil g(w,v)\rceil and c(w,u)=c(w,v)c(w,u)=c(w,v).

Lemma 18. Suppose G=(V,E)G=(V,E) is a graph and XX is a cluster vertex deletion set of GG of cardinality kk. Let Γ(2k+3,w)\Gamma(2k+3,w) be threshold representation of a threshold graph containing GG as a subgraph that satisfies conditions (ii) and (iii) of Corollary 17. Suppose that two vertices uu and vv of G−XG-X have the same configuration in Γ(2k+3,w)\Gamma(2k+3,w). Then in the graph Γ(2k+3,w)\Gamma(2k+3,w), uu and vv have exactly the same set of neighbors and non-neighbors in XX.

Proof. Let a∈Xa\in X and let g(w,a)=jg(w,a)=j.

Suppose auau is an edge in Γ(2k+3,w)\Gamma(2k+3,w). We will show that avav is an edge in Γ(2k+3,w)\Gamma(2k+3,w). If w(u)<12(2k+3)w(u)<\frac{1}{2}(2k+3), then we must have w(a)≥12(2k+3)w(a)\ge\frac{1}{2}(2k+3) and consequently w(u)≥2k+3−w(a)=g(w,a)=jw(u)\ge2k+3-w(a)=g(w,a)=j. By our choice of the HH-representation, we know that we must have w(u)>jw(u)>j. Since uu and vv have the same configuration in Γ(2k+3,w)\Gamma(2k+3,w), we must have w(v)<12(2k+3)w(v)<\frac{1}{2}(2k+3) and w(v)>j=2k+3−w(a)w(v)>j=2k+3-w(a). Therefore, avav is an edge in Γ(2k+3,w)\Gamma(2k+3,w). On the other hand, if w(u)≥12(2k+3)w(u)\ge\frac{1}{2}(2k+3) then we have w(v)≥12(2k+3)w(v)\ge\frac{1}{2}(2k+3). If we also have w(a)≥12(2k+3)w(a) \ge\frac{1}{2}(2k+3), we must have avav as an edge in Γ(2k+3,w)\Gamma(2k+3,w) and we are done. So assume w(a)<12(2k+3)w(a) < \frac{1}{2}(2k+3). Then g(w,u)=2k+3−w(u)≤w(a)=g(w,a)=jg(w,u)=2k+3-w(u) \le w(a)=g(w,a)=j. As earlier, we must have strict inequality g(w,u)=2k+3−w(u)<jg(w,u)=2k+3-w(u)<j. Since uu and vv have the same configuration in Γ(2k+3,w)\Gamma(2k+3,w), we must have 2k+3−w(v)≤⌈2k+3−w(v)⌉=⌈g(w,v)⌉=⌈g(w,u)⌉≤j=w(a)2k+3-w(v) \le\lceil2k+3-w(v)\rceil= \lceil g(w,v)\rceil= \lceil g(w,u)\rceil\le j=w(a) and so avav is an edge in Γ(2k+3,w)\Gamma(2k+3,w).

Suppose auau is not an edge in Γ(2k+3,w)\Gamma(2k+3,w). We will show that avav is also not an edge in Γ(2k+3,w)\Gamma(2k+3,w). If w(u)≥12(2k+3)w(u) \ge\frac{1}{2}(2k+3), we must have w(a)<12(2k+3)w(a)<\frac{1}{2}(2k+3) and consequently j=g(w,a)=w(a)<2k+3−w(u)=g(w,u)j=g(w,a)=w(a)<2k+3-w(u)=g(w,u). By our choice of the THTH-representation, we know that we must have j<2k+3−w(u)j<2k+3-w(u). Since uu and vv have the same configuration in Γ(2k+3,w)\Gamma(2k+3,w), we must have w(v)≥12(2k+3)w(v)\ge\frac{1}{2}(2k+3) and w(a)=j<2k+3−w(v)w(a)=j<2k+3-w(v). Therefore, avav is not an edge in Γ(2k+3,w)\Gamma(2k+3,w). If w(u)<12(2k+3)w(u)<\frac{1}{2}(2k+3) then we have w(v)<12(2k+3)w(v)<\frac{1}{2}(2k+3). If we also have w(a)<12(2k+3)w(a)<\frac{1}{2}(2k+3) then we cannot have avav as an edge in Γ(2k+3,w)\Gamma(2k+3,w) and we are done. So assume w(a)≥12(2k+3)w(a)\ge\frac{1}{2}(2k+3). Then j=g(w,a)=2k+3−w(a)>w(u)=g(w,u)j=g(w,a)=2k+3-w(a)>w(u)=g(w,u). As earlier, we must have the inequality w(u)<jw(u)<j. Since uu and vv have the same configuration in Γ(2k+3,w)\Gamma(2k+3,w), we must have w(v)<j=2k+3−w(a)w(v)<j=2k+3-w(a) and so avav is not an edge in Γ(2k+3,w)\Gamma(2k+3,w). ◀

Lemma 19. Suppose GG is a graph and let dim⁡TH(G)=t\dim_{TH}(G)=t. Suppose XX is a cluster vertex deletion set of GG of cardinality k≥1k\ge1 and is given as input. Let ll and pp be positive integers such that the largest and second largest cliques in G−XG-X have order ll and pp respectively. Then we can obtain an induced subgraph G′G' of GG in polynomial time such that G′G' has order at most 2p⋅(2k+p)p(2tp(k+1)tp+1)+l+k2p\cdot(2^k+p)^p(2^{tp}(k+1)^{tp}+1)+l+k and dim⁡TH(G′)=t\dim_{TH}(G')=t. Moreover, we can obtain a tt sized THTH-representation of GG from a tt sized THTH-representation of G′G' in polynomial time.

Proof. We will show that if an equivalence class of cliques G⊆C\mathcal{G}\subseteq\mathcal{C} contains at least 2tp(k+1)tp+22^{tp}(k+1)^{tp}+2 many cliques, then ∀C∈G\forall C\in\mathcal{G}, we have dim⁡TH(G)=dim⁡TH(G−C)\dim_{TH}(G)=\dim_{TH}(G-C). Due to this fact, we can retain at most 2tp(k+1)tp+12^{tp}(k+1)^{tp}+1 many cliques in each equivalence class and remove all extra cliques. Because each clique other than the largest one is of order at most pp, the number of equivalence classes is at most ∑r=1p(2k+r−1r)=(2k+pp)−1≤(2k+p)p\sum_{r=1}^{p}\binom{2^k+r-1}{r}=\binom{2^k+p}{p}-1\le(2^k+p)^p. It follows that if l=pl=p, we have a kernel of order 2p⋅(2k+p)p(2tp(k+1)tp+1)+k2p\cdot(2^k+p)^p(2^{tp}(k+1)^{tp}+1)+k. On the other hand, if p<lp<l, then the equivalence class containing the largest clique is a singleton class and therefore, we will end up with a kernel of order 2p⋅(2k+p)p(2tp(k+1)tp+1)+l+k2p\cdot(2^k+p)^p(2^{tp}(k+1)^{tp}+1)+l+k as claimed.

To that end, let C~∈G\widetilde{C}\in\mathcal{G} and ∣G∣≥2tp(k+1)tp+2|\mathcal{G}|\ge2^{tp}(k+1)^{tp}+2. Consider the graph G′=G−C~G'=G-\widetilde{C}. It is enough to show that dim⁡TH(G′)=dim⁡TH(G)\dim_{TH}(G')=\dim_{TH}(G) and that we can obtain an optimal THTH-representation of GG from an optimal THTH-representation of G′G' in polynomial time.

Let t′=dim⁡TH(G′)t'=\dim_{TH}(G'). By Corollary 17, we can assume that we have a THTH-representation {Γ(2k+3,wi′)}i∈[t′]\{\Gamma(2k+3,w'_i)\}_{i\in[t']} of G′G' such that (i) g(wi′,v)g(w'_i,v) takes distinct values, (ii) ∀v∈X\forall v\in X, g(wi′,v)∈[k]g(w'_i,v)\in[k], and (iii) ∀v∈V−X\forall v\in V-X, ∃j∈[k+1]\exists j\in[k+1] such that j−1<g(wi′,v)<jj-1<g(w'_i,v)<j.

∀i∈[t′]\forall i\in[t'], we define a new function wiw_i using the definition of wi′w'_i as follows:

(i) Suppose C∈C∖{C~}C\in\mathcal{C}\setminus\{\widetilde{C}\} and suppose vv is a vertex of CC. Assign g(wi,u):=max⁡{g(wi′,u):u is in C and ∣g(wi′,u)∣=∣g(wi′,v)∣}g(w_i,u):=\max\{g(w'_i,u):u\text{ is in }C\text{ and }|g(w'_i,u)|=|g(w'_i,v)|\}.

Let

wi(v)={g(wi,v),if c(wi,v)=0,2k+3−g(wi,v),if c(wi,v)=1.w_i(v)= \begin{cases} g(w_i,v), & \text{if }c(w_i,v)=0,\\ 2k+3-g(w_i,v), & \text{if }c(w_i,v)=1. \end{cases}

(ii) For any other vertex vv of G′G', we assign wi(v)=wi′(v)w_i(v)=w'_i(v).

Claim 20. {Γ(2k+3,wi)}i∈[t′]\{\Gamma(2k+3,w_i)\}_{i\in[t']} is a THTH-representation of G′G'.

Proof. Suppose ∀i∈[t′]\forall i\in[t'], wiw_i satisfies the above requirements. Fix an i∈[t′]i\in[t']. Suppose for some vertex vv in some clique CC, wi(v)≠wi′(v)w_i(v)\ne w'_i(v). By construction, we must have c(wi′,v)=1c(w'_i,v)=1. It is clear that c(wi,v)=c(wi′,v)=1c(w_i,v)=c(w'_i,v)=1 and g(wi,v)=g(wi,u)=g(wi′,u)g(w_i,v)=g(w_i,u)=g(w'_i,u) and therefore, ⌈g(wi,v)⌉=⌈g(wi′,v)⌉\lceil g(w_i,v)\rceil=\lceil g(w_i',v)\rceil. Hence, by arguments similar to Lemma 18, the adjacencies and non-adjacencies of vv remain the same with respect to the vertices in XX. The vertices in CC remain adjacent to each other. Observe that for every vertex vv in G′G', wi(v)≤wi′(v)w_i(v)\le w_i'(v). Therefore, no new edges are formed.

Claim 21. If C∈CC\in\mathcal{C}, then for every pair of vertices u,vu,v in CC that satisfies ⌈g(wi,v)⌉=⌈g(wi,u)⌉\lceil g(w_i,v)\rceil=\lceil g(w_i,u)\rceil, we have g(wi,v)=g(wi,u)g(w_i,v)=g(w_i,u). In particular, if there is a vertex uu in CC such that c(wi,u)=0c(w_i,u)=0, then for every other vertex v≠uv\ne u in CC, we have g(wi,v)≤g(wi,u)g(w_i,v)\le g(w_i,u).

Proof. Follows directly from construction.

We will say that two distinct cliques C1,C2∈⟨C~⟩C_1,C_2\in\langle\widetilde{\mathcal{C}}\rangle have the same configuration in {Γ(2k+3,wi)}i∈[t′]\{\Gamma(2k+3,w_i)\}_{i\in[t']} if there is a bijection ff that maps the vertices of C1C_1 to the vertices of C2C_2 such that for every vertex vv in C1C_1, ∀i∈[t′]\forall i\in[t'], vv and f(v)f(v) have the same configuration in Γ(2k+3,wi)\Gamma(2k+3,w_i).

It is easy to see that the number of cliques that do not have the same configuration in {Γ(2k+3,wi)}i∈[t′]\{\Gamma(2k+3,w_i)\}_{i\in[t']} is at most 2t′p×(k+1)t′p2^{t'p}\times(k+1)^{t'p} (for every vertex vv and for each i∈[t′]i\in[t'] there are 2 choices for the value of c(wi,v)c(w_i,v) and k+1k+1 many choices for the value of ⌈g(wi,v)⌉\lceil g(w_i,v)\rceil). Since we have more cliques than that, there are two cliques C1,C2∈⟨C~⟩C_1,C_2\in\langle\widetilde{\mathcal{C}}\rangle that have the same configuration in {Γ(2k+3,wi)}i∈[t′]\{\Gamma(2k+3,w_i)\}_{i\in[t']}.

Suppose qq is the bijective function that maps the vertices of C~\widetilde{C} to the vertices of C1C_1 such that for every vertex vv in C~\widetilde{C}, we have N(v)∩X=N(q(v))∩XN(v)\cap X=N(q(v))\cap X (such a function exists because C~∼C1\widetilde{C}\sim C_1). For every i∈[t′]i\in[t'], we will extend the definition of wiw_i to include the vertices of C~\widetilde{C} by extending the definitions of g(wi,⋅)g(w_i,\cdot) and c(wi,⋅)c(w_i,\cdot) respectively. For every vertex vv in C~\widetilde{C}, assign c(wi,v)=c(wi,q(v))c(w_i,v)=c(w_i,q(v)).

Let δi′=min⁡wi(u)+wi(v)<2k+3{2k+3−wi(u)−wi(v)}\delta_i'=\min_{w_i(u)+w_i(v)<2k+3}\{2k+3-w_i(u)-w_i(v)\} and δi′′=min⁡g(wi,u)≠g(wi,v){∣g(wi,u)−g(wi,v)∣}\delta_i''=\min_{g(w_i,u)\ne g(w_i,v)}\{|g(w_i,u)-g(w_i,v)|\}. Let δi=12min⁡{δi′,δi′′}\delta_i=\frac{1}{2}\min\{\delta_i',\delta_i''\}.

Note that for a vertex vv in C~\widetilde{C}, g(wi,q(v))≠g(wi,f(q(v)))g(w_i,q(v))\ne g(w_i,f(q(v))). For a vertex vv in C~\widetilde{C}, assign g(wi,v)g(w_i,v) as

g(wi,v)={g(wi,q(v))+δiif g(wi,q(v))<g(wi,f(q(v))),g(wi,q(v))−δiif g(wi,q(v))>g(wi,f(q(v))).(1)g(w_i,v)= \begin{cases} g(w_i,q(v))+\delta_i & \text{if } g(w_i,q(v))<g(w_i,f(q(v))),\\ g(w_i,q(v))-\delta_i & \text{if } g(w_i,q(v))>g(w_i,f(q(v))). \end{cases} \tag*{(1)}

Since ∀i∈[t′]\forall i\in[t'], g(wi,⋅)g(w_i,\cdot) and c(wi,⋅)c(w_i,\cdot) values are known on the vertex set of GG, the values of wiw_i is completely determined. Note that due to our choice of δi\delta_i, for every vertex vv in C~\widetilde{C}, we have ⌈g(wi,v)⌉=⌈g(wi,q(v))⌉=⌈g(wi,f(q(v)))⌉\lceil g(w_i,v)\rceil=\lceil g(w_i,q(v))\rceil=\lceil g(w_i,f(q(v)))\rceil. It is also clear that we have wi(v)=wi(q(v))±δiw_i(v)=w_i(q(v))\pm\delta_i. Therefore, C~\widetilde{C}, C1C_1 and C2C_2 are in the same configuration in {Γ(2k+3,wi)}i∈[t′]\{\Gamma(2k+3,w_i)\}_{i\in[t']}.

Claim 22. {Γ(2k+3,wi)}i∈[t′]\{\Gamma(2k+3,w_i)\}_{i\in[t']} is a THTH-representation for GG.

Proof. The only thing that needs to be checked are the adjacencies and non-adjacencies of the vertices in C~\widetilde{C}. As discussed above, ∀i∈[t′]\forall i\in[t'], we know that C~\widetilde{C}, C1C_1 and C2C_2 are in the same configuration in {Γ(2k+3,wi)}\{\Gamma(2k+3,w_i)\}. Therefore, by Lemma 18, the adjacencies and non-adjacencies of C~\widetilde{C} with respect to the vertices of XX are resolved. It is also easy to observe that the vertices of the clique C~\widetilde{C} are adjacent to each other in each graph Γ(2k+3,wi)\Gamma(2k+3,w_i). Therefore, we focus on the adjacencies and non-adjacencies of vertices in C~\widetilde{C} with the vertices of all the other cliques in C\mathcal{C}.

Let vv be a vertex of C~\widetilde{C}. We consider two cases.

  1. Suppose that uu is a vertex from G−XG-X not in C~\widetilde{C} or C1C_1. We know that ∃i∈[t′]\exists i\in[t'] such that wi(u)+wi(q(v))<2k+3w_i(u)+w_i(q(v))<2k+3. Clearly, if we ensure that wi(u)+wi(q(v))−δi<2k+3w_i(u)+w_i(q(v))-\delta_i<2k+3. By our choice of δi\delta_i, we also have wi(u)+wi(q(v))+δi<wi(u)+wi(q(v))+2k+3−wi(u)−wi(q(v))=2k+3w_i(u)+w_i(q(v))+\delta_i<w_i(u)+w_i(q(v))+2k+3-w_i(u)-w_i(q(v))=2k+3. Since wi(v)=wi(q(v))±δiw_i(v)=w_i(q(v))\pm\delta_i, we have wi(u)+wi(v)<2k+3w_i(u)+w_i(v)<2k+3 and we are done.

  1. Suppose that uu is a vertex from C1C_1. We know that ∃i∈[t′]\exists i \in[t'] such that wi(u)+wi(f(q(v)))<2k+3w_i(u)+w_i(f(q(v))) < 2k+3.

(i) If c(wi,u)=c(wi,f(q(v)))=0c(w_i,u)=c(w_i,f(q(v)))=0, then c(wi,v)=0c(w_i,v)=0 because v,q(v)v,q(v) and f(q(v))f(q(v)) have the same configuration in Γ(2k+3,wi)\Gamma(2k+3,w_i). Consequently, wi(u)+wi(v)<12(2k+3)+12(2k+3)=2k+3w_i(u)+w_i(v) < \frac{1}{2}(2k+3)+\frac{1}{2}(2k+3)=2k+3 and therefore, uvuv is not an edge in Γ(2k+3,wi)\Gamma(2k+3,w_i).

(ii) Now assume c(wi,u)=0c(w_i,u)=0 and c(wi,f(q(v)))=1c(w_i,f(q(v)))=1. This means that

c(wi,f(u))=0 and c(wi,v)=1.(2)c(w_i,f(u))=0\text{ and }c(w_i,v)=1. \tag*{(2)}

because uu and f(u)f(u) have the same configuration in Γ(2k+3,wi)\Gamma(2k+3,w_i) and v,q(v)v,q(v) and f(q(v))f(q(v)) have the same configuration in Γ(2k+3,wi)\Gamma(2k+3,w_i). Hence, by Claim 21 and expression (2), we have g(wi,f(q(v)))≤g(wi,f(u))g(w_i,f(q(v)))\leq g(w_i,f(u)).

Since c(wi,u)=0c(w_i,u)=0 and c(wi,f(q(v)))=1c(w_i,f(q(v)))=1, we have

g(wi,u)=wi(u)<2k+3−wi(f(q(v)))=g(wi,f(q(v)))≤g(wi,f(u)).(3)g(w_i,u)=w_i(u)<2k+3-w_i(f(q(v)))=g(w_i,f(q(v)))\leq g(w_i,f(u)). \tag*{(3)}

Since uu and f(u)f(u) have the same configuration in Γ(2k+3,wi)\Gamma(2k+3,w_i), it follows from expression (3) that

⌈g(wi,u)⌉=⌈g(wi,f(u))⌉=⌈g(wi,f(q(v)))⌉=⌈g(wi,v)⌉=⌈g(wi,q(v))⌉.(4)\lceil g(w_i,u)\rceil=\lceil g(w_i,f(u))\rceil=\lceil g(w_i,f(q(v)))\rceil=\lceil g(w_i,v)\rceil=\lceil g(w_i,q(v))\rceil. \tag*{(4)}

By Claim 21 and expression (4), we have

g(wi,q(v))=g(wi,u)<g(wi,f(q(v))).(5)g(w_i,q(v))=g(w_i,u)<g(w_i,f(q(v))). \tag*{(5)}

Therefore, by Equation (1), g(wi,v)=g(wi,q(v))+δig(w_i,v)=g(w_i,q(v))+\delta_i and consequently, we have

wi(v)=2k+3−g(wi,v)(by definition of g(wi,⋅) and expression (2))=2k+3−g(wi,q(v))−δi(by Equation (1))=2k+3−g(wi,u)−δi(by Equation (5))=2k+3−wi(u)−δi(by definition of g(wi,⋅) and assumption).\begin{aligned} w_i(v)&=2k+3-g(w_i,v) &&\text{(by definition of }g(w_i,\cdot)\text{ and expression (2))}\\ &=2k+3-g(w_i,q(v))-\delta_i &&\text{(by Equation (1))}\\ &=2k+3-g(w_i,u)-\delta_i &&\text{(by Equation (5))}\\ &=2k+3-w_i(u)-\delta_i &&\text{(by definition of }g(w_i,\cdot)\text{ and assumption).} \end{aligned}

Therefore, wi(u)+wi(v)=wi(u)+2k+3−wi(u)−δi=2k+3−δi<2k+3w_i(u)+w_i(v)=w_i(u)+2k+3-w_i(u)-\delta_i=2k+3-\delta_i<2k+3.

(iii) Finally assume that c(wi,u)=1c(w_i,u)=1 and c(wi,f(q(v)))=0c(w_i,f(q(v)))=0. The proof is similar to the proof of case 2 part (ii) and therefore, has been moved to the appendix.

Therefore, we showed that t=dim⁡TH(G)≤t′≤tt=\dim_{TH}(G)\leq t'\leq t. Hence, dim⁡TH(G)=dim⁡TH(G−C~)\dim_{TH}(G)=\dim_{TH}(G-\widetilde{C}).

▷ Claim 23. From a THTH-representation of G′G' we can obtain a THTH-representation of GG in polynomial time.

The proof of Claim 23 has been moved to the appendix.

Lemma 24. Suppose G=(V,E)G=(V,E) is a graph and suppose XX is a cluster vertex deletion set of GG. Let ∣X∣=k|X|=k and dim⁡TH(G)=t\dim_{TH}(G)=t. Then there is a subgraph G′=(V′,E′)G'=(V',E') of GG such that dim⁡TH(G′)=dim⁡TH(G)\dim_{TH}(G')=\dim_{TH}(G) and the largest clique in G′−XG'-X has order at most 2k(t+1)2^k(t+1). Furthermore, it is possible to obtain a THTH-representation of GG from a THTH-representation of G′G' in polynomial time.

Proof. Let {Γ(2k+3,wi)}i∈[t]\{\Gamma(2k+3,w_i)\}_{i\in[t]} be a THTH-representation of GG. Suppose Cmax⁡C_{\max} is the largest clique in G−XG-X.

If the number of vertices Cmax⁡C_{\max} is less than or equal to 2k(t+1)2^k(t+1), then G=G′G=G' and we are done. Therefore, suppose Cmax⁡C_{\max} has atleast 2k(t+1)+12^k(t+1)+1. Define an equivalence relation ∼mc\sim_{mc} on the vertices of Cmax⁡C_{\max} in the following way: for distinct vertices uu and vv in Cmax⁡C_{\max}, u∼mcvu\sim_{mc}v if and only if NG(u)∩X=NG(v)∩XN_G(u)\cap X=N_G(v)\cap X. Let Fmc\mathcal{F}_{mc} be the family of all equivalence classes under ∼mc\sim_{mc} that contain at least t+1t+1 vertices.

▷ Claim 25. Fmc\mathcal{F}_{mc} is non-empty.

Proof. Since there are at most 2k2^k distinct subsets of XX, there can be at most 2k2^k distinct equivalence classes under ∼mc\sim_{mc}. Because Cmax⁡C_{\max} contains at least 2k(t+1)+12^k(t+1)+1 vertices, by the pigeonhole principle, there is at least one equivalence class that contains at least t+1t+1 vertices. ◁

Let G′G' be the graph obtained from GG by retaining exactly t+1t+1 vertices from FF for every F∈FmcF\in\mathcal{F}_{mc}.

▷ Claim 26. dim⁡TH(G′)=dim⁡TH(G)\dim_{TH}(G')=\dim_{TH}(G).

Proof. Fix an equivalence class F∈FmcF\in\mathcal{F}_{mc}. Let GF=(VF,EF)G_F=(V_F,E_F) obtained from GG by retaining exactly t+1t+1 vertices from FF. It is sufficient to prove that dim⁡TH(GF)=dim⁡TH(G)\dim_{TH}(G_F)=\dim_{TH}(G) because we can do this step recursively for every equivalence class in Fmc\mathcal{F}_{mc} and the claim follows.

Suppose t′=dim⁡TH(GF)t'=\dim_{TH}(G_F) and {Γ(2k+3,wi′)}i∈[t′]\{\Gamma(2k+3,w'_i)\}_{i\in[t']} is an optimal THTH-representation for GFG_F. Note that by Observation 11, for a fixed i∈[t′]i\in[t'] there can be at most one vertex v∈F∩VFv\in F\cap V_F such that wi′(v)<12(2k+3)w'_i(v)<\frac{1}{2}(2k+3). Since ∣F∩VF∣=t+1>t≥t′|F\cap V_F|=t+1>t\geq t', there is a vertex uFu_F in F∩VFF\cap V_F such that ∀i∈[t′]\forall i\in[t'], we have wi′(uF)≥12(2k+3)w'_i(u_F)\geq\frac{1}{2}(2k+3).

∀i∈[t′]\forall i\in[t'], define wi∗w_i^* on the vertices of GG as follows: for u∈V∖Fu\in V\setminus F, assign wi∗(u)=wi′(u)w_i^*(u)=w'_i(u) and for u∈Fu\in F, assign wi∗(u)=wi′(uF)w_i^*(u)=w'_i(u_F). It is easy to see that {Γ(2k+3,wi∗)}i∈[t′]\{\Gamma(2k+3,w_i^*)\}_{i\in[t']} is a THTH-representation for GG. Therefore, t=t′t=t'.

Note that the vertices of Cmax⁡C_{\max} that are retained in G′G' induces a clique of order at least ∣Fmc∣(t+1)≥(t+1)>t|\mathcal{F}_{mc}|(t+1)\geq(t+1)>t and therefore, by Theorem 6, it remains the largest clique in G′−XG'-X. Since there are at most 2k2^k many equivalence classes under ∼mc\sim_{mc}, the largest clique in G′G' has at most 2k(t+1)2^k(t+1) vertices. Therefore, G′G' is the required graph. ◀

▶ Theorem 27. There is an efficient parameterized approximation scheme to find the THTH-representation of GG when parameterized with the cluster vertex deletion number.

Proof. Let ϵ>0\epsilon>0. Let XX be a cluster vertex deletion set of a graph G=(V,E)G=(V,E) with ∣X∣=k|X|=k. When k=0k=0, we are done by Theorem 6. So assume k≥1k\geq1. Let G1=(V,E1)G_1=(V,E_1) be such that E1=E∪{uv:u∈V∖X,v∈V∖u}E_1=E\cup\{uv:u\in V\setminus X,v\in V\setminus u\}, G2=(V,E2)G_2=(V,E_2) such that E2=E∪{uv:u∈X,v∈V∖u}E_2=E\cup\{uv:u\in X,v\in V\setminus u\}, and G3=(V,E3)G_3=(V,E_3) be such that E3=E∪{uv:u∈V∖X}∪{uv:u,v∈X and u≠v}∪{uv:u,v∈V∖X and u≠v}E_3=E\cup\{uv:u\in V\setminus X\}\cup\{uv:u,v\in X\text{ and }u\ne v\}\cup\{uv:u,v\in V\setminus X\text{ and }u\ne v\}. Then clearly, G=G1∩G2∩G3G=G_1\cap G_2\cap G_3.

We have dim⁡TH(G1)=dim⁡TH(G−(V∖X))≤k\dim_{TH}(G_1)=\dim_{TH}(G-(V\setminus X))\leq k because it is the graph obtained from GG by making all vertices in V∖XV\setminus X into universal vertices. A THTH-representation for G1G_1 can be obtained in 2O(k2log⁡k)2^{O(k^2\log k)} time (see the discussion in Section 2).

G3G_3 is a co-bipartite graph with one part of cardinality at most kk. Therefore, the vertex cover of G3‾\overline{G_3} can be at most kk, and it follows from Theorem 13 that dim⁡TH(G3)≤k\dim_{TH}(G_3)\leq k and its THTH-representation can be computed in polynomial time.

If G−XG-X contains at least 2 cliques, Theorem 6 tells us that the threshold cover number of G2‾\overline{G_2} is equal to the order of the second largest clique of G−XG-X because G2‾\overline{G_2} is a union of

isolated vertices with a complete multipartite graph with the second largest part having cardinality pp. In fact, dim⁡TH(G2)=dim⁡TH(G2−X)\dim_{TH}(G_2)=\dim_{TH}(G_2-X). In addition, a THTH-representation for G2G_2 can be computed in polynomial time. Since GG contains G−XG-X as an induced subgraph, we must have dim⁡TH(G)≥dim⁡TH(G−X)=dim⁡TH(G2−X)=dim⁡TH(G2)\dim_{TH}(G)\ge\dim_{TH}(G-X)=\dim_{TH}(G_2-X)=\dim_{TH}(G_2).

We have three cases.

  1. The first case is when G−XG-X has at least 2 cliques, the order of the second largest clique in G−XG-X is pp and 2k≤ϵp2k\le\epsilon p. By the above discussion, we have dim⁡TH(G)≤dim⁡TH(G1)+dim⁡TH(G2)+dim⁡TH(G3)≤2k+p≤(1+ϵ)p≤(1+ϵ)dim⁡TH(G2)≤(1+ϵ)dim⁡TH(G)\dim_{TH}(G)\le\dim_{TH}(G_1)+\dim_{TH}(G_2)+\dim_{TH}(G_3)\le2k+p\le(1+\epsilon)p\le(1+\epsilon)\dim_{TH}(G_2)\le(1+\epsilon)\dim_{TH}(G). In this case, the algorithm returns the union of the THTH-representations of G1G_1, G2G_2 and G3G_3, to get a (1+ϵ)(1+\epsilon)-factor approximation for dim⁡TH(G)\dim_{TH}(G). This takes 2O(k2log⁡k)+O(n4)2^{O(k^2\log k)}+O(n^4) time which is a consequence of the time taken to compute dim⁡TH(G1)\dim_{TH}(G_1) along with the time taken to find a 3-approximate cluster vertex deletion set.

  1. The second case has 2 subcases:

(i) Consider the case when G−XG-X has at least 2 cliques and the order of the second largest clique in G−XG-X is pp satisfying p<2kϵp<\frac{2k}{\epsilon}. In this case, we have dim⁡TH(G)<2k(1+1ϵ)\dim_{TH}(G)<2k(1+\frac{1}{\epsilon}). Observe that each clique in G−XG-X is of cardinality at most 2kϵ\frac{2k}{\epsilon} except, possibly, for the largest clique Cmax⁡C_{\max}. By Lemma 24, there is a subgraph G′G' of GG such that dim⁡TH(G′)=dim⁡TH(G)\dim_{TH}(G')=\dim_{TH}(G) and the largest clique in G′−XG'-X has order at most 2k(2k(1+1ϵ)+1)≤2k(2k+1)(1+1ϵ)2^k(2k(1+\frac{1}{\epsilon})+1)\le2^k(2k+1)(1+\frac{1}{\epsilon}). By Lemma 19, there is a graph G′′G'' with dim⁡TH(G′′)=dim⁡TH(G′)=dim⁡TH(G)\dim_{TH}(G'')=\dim_{TH}(G')=\dim_{TH}(G) of order at most 4kϵ⋅(2k+2kϵ)⋅e4k2ϵ2(1+1ϵ)(k+1)4k2ϵ(1+1ϵ)+1)+2k(2k+1)(1+1ϵ)+k\frac{4k}{\epsilon}\cdot(2^k+\frac{2^k}{\epsilon})\cdot e^{\frac{4k^2}{\epsilon^2}(1+\frac{1}{\epsilon})}(k+1)\frac{4k^2}{\epsilon}(1+\frac{1}{\epsilon})+1)+2^k(2k+1)(1+\frac{1}{\epsilon})+k.

(ii) Finally we have the case when G−XG-X has only one clique. In this case, we have G=G1∩G3G=G_1\cap G_3 and therefore, dim⁡TH(G)≤2k\dim_{TH}(G)\le2k. By Lemma 24, there is a subgraph G′G' of GG such that dim⁡TH(G′)=dim⁡TH(G)\dim_{TH}(G')=\dim_{TH}(G) and the largest clique in G′−XG'-X has order at most 2k(2k+1)2^k(2k+1). Therefore, the order of G′G' is at most 2k(2k+1)+k2^k(2k+1)+k. Let G′′=G′G''=G'.

By the discussion in § 2, we can obtain a THTH-representation for G′′G'' by a bruteforce enumeration. And from G′′G'' we can obtain an optimal THTH-representation of G′G' and subsequently an optimal THTH-representation for GG in polynomial time.

This finishes the proof.

From the proof of Theorem 27, it is also clear that the problem is FPT with two parameters, the cluster vertex deletion number and the solution size. We record this in the following theorem.

Theorem 28. There is an algorithm that, given a graph GG with dim⁡TH(G)=t\dim_{TH}(G)=t, constructs a THTH-representation of GG of size tt in time f(k,t)∣V(G)∣O(1)f(k,t)|V(G)|^{O(1)}, where kk is the cluster vertex deletion number of GG, and ff is a computable function.

Proofs of some Claims and Lemmas

Since Lemma 14 follows from Corollary 17, we will be proving Corollary 17.

Proof of Corollary 17. By definition 4, there is an order v1,v2,…,vnv_1,v_2,\ldots,v_n of the vertices of GG such that a vertex at a particular position is either adjacent to all the vertices appearing before it in the order or it is not adjacent to any of the vertices appearing before it in the order. For i∈[n]i \in[n], define g(vi)=n−ig(v_i)=n-i and let w(vi)=2n−g(vi)w(v_i)=2n-g(v_i) if viv_i is adjacent to all the vertices appearing before it in the order and w(vi)=g(vi)w(v_i)=g(v_i) if viv_i is not adjacent to any of the vertices appearing before it in the order. Let c(vi)=0c(v_i)=0 if w(vi)<nw(v_i)<n and c(vi)=1c(v_i)=1 if w(vi)≥nw(v_i)\ge n. It is clear that Γ(2n,w)\Gamma(2n,w) is the threshold representation of GG.

Suppose that the elements of g(V)g(V) are ordered as x1<x2<…<xnx_1<x_2<\ldots<x_n. In this order, take the subsequence corresponding to the vertices in XX as y1<y2<…<yky_1<y_2<\ldots<y_k. Define yk+1=1+xny_{k+1}=1+x_n and y0=x1−1y_0=x_1-1. Define the function zz on the elements in g(V)g(V) as follows:

z(x)={jif x=yj for some j∈[k],x−yj−1yj−yj−1+j−1if yj−1<x<yj for some j∈[k+1].z(x)= \begin{cases} j & \text{if } x=y_j\text{ for some }j\in[k],\\ \dfrac{x-y_{j-1}}{y_j-y_{j-1}}+j-1 & \text{if } y_{j-1}<x<y_j\text{ for some }j\in[k+1]. \end{cases}

Note that zz preserves the ordering of g(V)g(V) and takes value less than k+1k+1, i.e., we have z(x1)<z(x2)<…<z(xn)<k+1z(x_1)<z(x_2)<\ldots<z(x_n)<k+1. We define the function w∗w^* on the vertices of GG as follows:

w∗(v)={z(g(v))if w(v)<n,2k+3−z(g(v))if w(v)≥n.w^*(v)= \begin{cases} z(g(v)) & \text{if } w(v)<n,\\ 2k+3-z(g(v)) & \text{if } w(v)\ge n. \end{cases}

Observe that if w(v)<nw(v)<n, we have w∗(v)<k+1w^*(v)<k+1 and if w(v)≥nw(v)\ge n, we have w∗(v)>k+2w^*(v)>k+2. Also observe that for every vertex vv in VV, we have g(w∗,v)=z(g(v))g(w^*,v)=z(g(v)). Therefore, it is clear that g(w∗,⋅)g(w^*,\cdot) satisfies requirements (i), (ii) and (iii). We will show that Γ(2k+3,w∗)\Gamma(2k+3,w^*) is a valid threshold representation of GG.

Suppose for distinct vertices u,v∈Vu,v\in V we have uv∉Euv\notin E. Then either w(u)<nw(u)<n or w(v)<nw(v)<n. Without loss of generality, assume w(u)<nw(u)<n. If we also have w(v)<nw(v)<n then w∗(u)+w∗(v)=z(g(u))+z(g(v))<k+1+k+1=2k+2<2k+3w^*(u)+w^*(v)=z(g(u))+z(g(v))<k+1+k+1=2k+2<2k+3 and we are done. Therefore, assume that w(v)≥nw(v)\ge n. Since w(u)+w(v)<2nw(u)+w(v)<2n, we have 2n−w(v)>w(u)2n-w(v)>w(u). It follows that g(v)>g(u)g(v)>g(u) and, consequently, z(g(v))>z(g(u))z(g(v))>z(g(u)). Hence, w∗(u)+w∗(v)=z(g(u))+2k+3−z(g(v))<2k+3w^*(u)+w^*(v)=z(g(u))+2k+3-z(g(v))<2k+3.

On the other hand, if for distinct vertices u,v∈Vu,v\in V we have uv∈Euv\in E, then w(u)+w(v)≥2nw(u)+w(v)\ge2n. This means that either w(u)≥nw(u)\ge n or w(v)≥nw(v)\ge n. Without loss of generality, assume that w(u)≥nw(u)\ge n. If we also have w(v)≥nw(v)\ge n, then w∗(u)+w∗(v)>k+2+k+2=2k+4>2k+3w^*(u)+w^*(v)>k+2+k+2=2k+4>2k+3 as discussed above. Therefore, assume that w(v)<nw(v)<n. Observe that 2n−w(u)≤w(v)2n-w(u)\le w(v). Consequently, g(u)≤g(v)g(u)\le g(v). Since gg takes distinct values, we must have g(u)<g(v)g(u)<g(v). It follows that z(g(u))<z(g(v))z(g(u))<z(g(v)). Therefore, we have w∗(u)+w∗(v)=2k+3−z(g(u))+z(g(v))>2k+3w^*(u)+w^*(v)=2k+3-z(g(u))+z(g(v))>2k+3.

Proof of Claim 22 case 2(iii). Assume that c(wi,u)=1c(w_i,u)=1 and c(wi,f(q(v)))=0c(w_i,f(q(v)))=0. This means that

c(wi,f(u))=1 and c(wi,v)=0(6)c(w_i,f(u))=1\text{ and }c(w_i,v)=0 \tag*{(6)}

because uu and f(u)f(u) have the same configuration in Γ(2k+3,wi)\Gamma(2k+3,w_i) and v,q(v)v,q(v) and f(q(v))f(q(v)) have the same configuration in Γ(2k+3,wi)\Gamma(2k+3,w_i). By Claim 21 and expression (6), this means that g(wi,f(q(v)))≥g(wi,f(u))g(w_i,f(q(v)))\ge g(w_i,f(u)).

Since c(wi,u)=1c(w_i,u)=1 and c(wi,f(q(v)))=0c(w_i,f(q(v)))=0, we have

g(wi,u)=2k+3−wi(u)>wi(f(q(v)))=g(wi,f(q(v)))≥g(wi,f(u)).(7)g(w_i,u)=2k+3-w_i(u)>w_i(f(q(v)))=g(w_i,f(q(v)))\ge g(w_i,f(u)). \tag*{(7)}

Since uu and f(u)f(u) have the same configuration in Γ(2k+3,wi)\Gamma(2k+3,w_i), it follows from expression (7) that

∣g(wi,u)∣=∣g(wi,f(u))∣=∣g(wi,f(q(v)))∣=∣g(wi,v)∣=∣g(wi,q(v))∣.(8)\lvert g(w_i,u)\rvert=\lvert g(w_i,f(u))\rvert=\lvert g(w_i,f(q(v)))\rvert=\lvert g(w_i,v)\rvert=\lvert g(w_i,q(v))\rvert. \tag*{(8)}

By Claim 21 and expression (8), we have

g(wi,q(v))=g(wi,u)>g(wi,f(q(v))).(9)g(w_i,q(v))=g(w_i,u)>g(w_i,f(q(v))). \tag*{(9)}

Therefore, by Equation (1), we have g(wi,v)=g(wi,q(v))−δig(w_i,v)=g(w_i,q(v))-\delta_i. By the definition of g(wi,⋅)g(w_i,\cdot) and expression (9), we have wi(v)=g(wi,v)=g(wi,q(v))−δi=g(wi,u)−δi=2k+3−wi(u)−δiw_i(v)=g(w_i,v)=g(w_i,q(v))-\delta_i=g(w_i,u)-\delta_i=2k+3-w_i(u)-\delta_i. Therefore, wi(u)+wi(v)=wi(u)+2k+3−wi(u)−δi=2k+3−δi<2k+3w_i(u)+w_i(v)=w_i(u)+2k+3-w_i(u)-\delta_i=2k+3-\delta_i<2k+3. ◀

Proof of Claim 23. Let ∣C∣=c\lvert\mathcal{C}\rvert=c. We first describe a polynomial time procedure using which we can determine all the equivalence classes of C\mathcal{C} and also determine for every equivalent pair C,C′∈CC,C'\in\mathcal{C} a labelling to its vertices such that if v∈Cv\in C and v′∈C′v'\in C' are labeled the same then NG(v)∩X=NG(v′)∩XN_G(v)\cap X=N_G(v')\cap X. Suppose the number of equivalence classes of C\mathcal{C} is rr.

  • Initialize C=\mathcal{C}= cliques in G′−XG'-X (can be done efficiently by observing the neighborhoods).

  • Initialize all the vertices of G′−XG'-X with the label NULL. Initialize i=0i=0.

  • while C≠∅\mathcal{C}\ne\varnothing, do:

    • i=i+1i=i+1.

    • Pick a clique Ci∈CC_i\in\mathcal{C} arbitrarily and assign an arbitrary labeling to its vertices from the integers in [l][l]. Initialize UCi={Ci}\mathcal{U}_{C_i}=\{C_i\}.

    • For every clique C′∈C∖{Ci}C'\in\mathcal{C}\setminus\{C_i\} that has the same order as CiC_i, do the following:

      • Initialize a flag variable with 1.

      • For every vertex v∈Civ\in C_i:

        • Find a vertex v′∈C′v'\in C' (not found in a previous step) such that NG(v)∩X=NG(v′)∩XN_G(v)\cap X=N_G(v')\cap X. If such a vertex is found, then label v′v' with the same label as vv (at most one vertex is labelled this way).

        • If no such vertex is found then set flag as 0 and stop.

      • If the flag is 0, then reassign all the labels of the vertices of C′C' with NULL.

      • If the flag is 1, then do UCi=UCi∪{C′}\mathcal{U}_{C_i}=\mathcal{U}_{C_i}\cup\{C'\}.

    • C=C∖UCi\mathcal{C}=\mathcal{C}\setminus\mathcal{U}_{C_i}.

  • Return {UC1,UC2,…,UCr}\{\mathcal{U}_{C_1},\mathcal{U}_{C_2},\ldots,\mathcal{U}_{C_r}\}.

Now we construct a c×tlc\times tl matrix as follows: the rows of the matrix are labeled with the cliques in C\mathcal{C} and the columns are labeled with tt many copies of the labels that the vertices of the cliques received by the above procedure. Let C∈CC\in\mathcal{C} and v∈Cv\in C be a vertex that received the label jj in the above procedure. Then for i∈[t]i\in[t], the (C,j+(i−1)l)(C,j+(i-1)l)-th cell is filled with the tuple (c(wi,v),⌈g(wi,v)⌉)(c(w_i,v),\lceil g(w_i,v)\rceil). All the other cells are filled with a filler value (∗,∗)(\ast,\ast). This matrix has size at most n3n^3 and therefore, takes polynomial time to fill. We can now identify two equivalent cliques C1C_1 and C2C_2 that are in the same configuration and in ⟨C~⟩\langle\widetilde{\mathcal{C}}\rangle by going down the rows of this matrix and checking if two rows are equal. This again takes polynomial time. Once we have identified C1C_1 and C2C_2 we can assign the weights of C~\widetilde{\mathcal{C}} according to Equation (1) and we are done. ◁

References

  1. [1]Abhijith Adiga, Rajesh Chitnis, and Saket Saurabh. Parameterized algorithms for boxicity. Algorithms and Computation, 2010.DOI
  2. [2]Henning Bruhn, Magnus Chopin, Felix Joos, and Oliver Schaudt. Structural parameterizations for boxicity. Algorithmica, 74(4):1453–1472, 2016.
  3. [3]Daphna Chacko and Mathew C. Francis. Representing graphs as the intersection of cographs and threshold graphs. The Electronic Journal of Combinatorics, 28(3):P3.11, Jul. 2021. doi:10.37236/9110.DOI
  4. [4]Václav Chvátal and Peter L. Hammer. Set-packing and threshold graphs. Res. Rep., Comput. Sci. Dept., Univ. Waterloo, 1973.
  5. [5]Margaret B. Cozzens and Rochelle Leibowitz. Threshold dimension of graphs. SIAM Journal on Algebraic Discrete Methods, 5(4):579–595, 1984. doi:10.1137/0605055.DOI
  6. [6]Margaret Barry Cozzens and Fred S Roberts. On dimensional properties of graphs. Graphs and Combinatorics, 5(1):29–46, 1989.DOI
  7. [7]Michael R Fellows, Danny Hermelin, and Frances A Rosamond. Well quasi orders in subclasses of bounded treewidth graphs and their algorithmic applications. Algorithmica, 64(1):3–18, 2012.
  8. [8]Mathew C Francis, Atrayee Majumder, and Rogers Mathew. Some bounds on the threshold dimension of graphs. The Electronic Journal of Combinatorics, 32:P1–33, Feb. 2025. doi:10.37236/12331.DOI
  9. [9]Jan Kratochvíl and Zsolt Tuza. Intersection dimensions of graph classes. Graphs and Combinatorics, 10(2):159–168, 1994.
  10. [10]Tze-Heng Ma. On the threshold dimension 2 graphs. Technical report, Institute of Information Science, Nankang, Taipei, Taiwan, September 1993.
  11. [11]Nadimpalli VR Mahadev and Uri N Peled. Threshold graphs and related topics, volume 56. Elsevier, 1995.
  12. [12]Thomas Raschle and Klaus Simon. Recognition of graphs with threshold dimension two. In Proceedings of the Twenty-seventh Annual ACM Symposium on Theory of computing, pages 650–661, 1995.
  13. [13]Andrea Sterbini and Thomas Raschle. An O(n3) time algorithm for recognizing threshold dimension 2 graphs. Information Processing Letters, 67(5):255–259, 1998.DOI
  14. [14]Mihalis Yannakakis. The complexity of the partial order dimension problem. SIAM Journal on Algebraic Discrete Methods, 3(3):351–358, 1982. doi:10.1137/0603036.DOI

Paper details

vlnc:W_k8rr3bw5
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 8

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

GPT-6 Astra (bare)

View statement
Looking for related papers…
Contents