Abstract
The clique transversal problem is a critical concept in graph theory, focused on identifying a minimum subset of vertices that intersects all maximal cliques in a graph. This problem and its variations—such as the k-fold clique, -clique, minus clique, and signed clique transversal problems—have received significant interest due to their theoretical importance and practical applications. This paper examines the k-fold clique, -clique, minus clique, and signed clique transversal problems on distance-hereditary graphs. Known for their distinctive structural properties, distance hereditary graphs provide an ideal framework for studying these problem variants. By exploring these issues in the context of distance-hereditary graphs, this research enhances the understanding of the computational challenges and the potential for developing efficient algorithms to address these problems.
1. Introduction
Distance-hereditary graphs were first introduced and studied in the 1970s as part of the broader exploration of special graph classes characterized by specific structural properties. A graph is defined as distance-hereditary if the distance between every pair of vertices in any connected induced subgraph is the same as in the original graph. This preservation of distances under induced subgraphs has led to distance-hereditary graphs being considered an important and intriguing class within graph theory.
The concept was formally defined by Howorka in 1977 [1], who provided the initial characterization and properties of distance-hereditary graphs. This work laid the groundwork for further research into the structural and algorithmic aspects of these graphs. The 1980s and 1990s saw significant advancements in the study of distance-hereditary graphs, with researchers exploring various algorithmic applications and characterizations. For instance, Bandelt and Mulder [2] demonstrated that distance-hereditary graphs could be recognized efficiently, leading to a surge in interest in their algorithmic properties. The recognition algorithm for distance-hereditary graphs, which operates in linear time, was a notable milestone, highlighting the practical feasibility of working with these graphs in computational contexts.
The study of distance-hereditary graphs continues to be a dynamic and evolving field. One of the critical aspects of distance-hereditary graphs is the relationship with interval functions [3]. The interval function in a connected graph captures the set of vertices lying on some shortest -path, and, in distance-hereditary graphs, every induced path is indeed the shortest. This property has allowed for a novel characterization of these graphs using first-order betweenness axioms and enriching the theoretical framework surrounding them.
In addition to these foundational aspects, Cicerone et al. introduced and explored mutual-visibility in distance-hereditary graphs [4]. Mutual-visibility within a graph pertains to the visibility of vertices along the shortest paths, and it has been shown that the mutual-visibility number can be computed in linear time for distance-hereditary graphs, providing efficient algorithms for specific graph classes.
Further expanding on the properties of distance-hereditary graphs, Dragan et al. [5] investigated the eccentricity function, demonstrating that it is almost unimodal within these graphs. This research offers a complete characterization of the centers of distance-hereditary graphs and proposes a linear-time algorithm for computing eccentricities, contributing to the efficient processing of these graphs.
The complexity of graph problems within distance-hereditary graphs has also been a subject of intense study. For instance, Ducoffe and Popa addressed the fine-grained complexity of the maximum matching problem in graphs of bounded split-width, including distance-hereditary graphs [6]. Their work answers an open question and introduces new tools for the b-matching problem and dynamic programming.
In graph isomorphism, Gavrilyuk et al. showed that the Weisfeiler-Leman algorithm effectively tests isomorphism for distance-hereditary graphs, reducing the dimension required for this class from the previously known upper bound [7]. This result enhances our ability to differentiate between graphs in this class efficiently.
Paired-domination, another key problem in graph theory, has been examined in the context of distance-hereditary graphs [8]. The work provides an -time algorithm for determining minimum paired-dominating sets.
Moreover, the recognition of distance-hereditary graphs has been explored through distributed interactive proofs [9]. The protocols for recognizing these graphs, with proof sizes as small as bits, underscore the feasibility of decentralized algorithms in graph theory.
Finally, the enumeration of distance-hereditary graphs has been advanced by Yamazaki et al. [10], who developed algorithms that are not only theoretically sound but also practical to implement. These algorithms have led to the creation of catalogs for graph classes up to 15 vertices, demonstrating the practical utility of these methods.
The clique transversal problem is a fundamental concept in graph theory, involving the identification of a minimum subset of vertices that intersects all maximal cliques in a graph. This problem, along with its variations—such as the k-fold clique, -clique, minus clique, and signed clique transversal problems—has attracted significant attention due to its practical applications [11,12,13,14] and theoretical significance [15,16,17,18]. The k-fold clique, -clique, minus clique, and signed clique transversal problems remain unexplored challenges for distance-hereditary graphs. This paper aims to investigate the four clique transversal problems on distance-hereditary graphs. By focusing on these specific problems, this study aims to deepen the understanding of the computational challenges associated with them and to explore the potential for developing efficient algorithms to solve them. The insights gained from this research are expected to contribute significantly to the broader field of graph theory and to provide practical tools for applications in various domains where graph-based modeling is essential.
To solve the four clique transversal problems, this paper identifies their common characteristics and introduces the -clique transversal problem. It demonstrates that the k-fold clique, k-clique, minus clique, and signed clique transversal problems are all special cases of the -clique transversal problem. This formulation provides a unified approach to solving these four problems. We then present a dynamic programming algorithm specifically designed to solve the -clique transversal problem.
Dynamic programming is a versatile and powerful technique for solving complex problems by breaking them down into smaller subproblems, solving all the smaller subproblems, and storing their results, and then combining their solutions to solve the original problem. It is particularly effective for optimization problems, where the goal is to find the best solution among many possible options. The key idea behind dynamic programming is to store the results of subproblems and reuse them when needed, thereby avoiding redundant calculations and significantly improving efficiency.
The development of a dynamic programming algorithm typically involves the following steps:
- Characterize the structure of an optimal solution: Identify how the optimal solution to the problem can be composed of the solutions to its subproblems. This step involves understanding the relationship between the original problem and its subproblems and how to combine the subproblem solutions to form the optimal solution for the entire problem;
- Define the recursive formula: Once the structure of the optimal solution is understood, the next step is to define the recursive relationship (or recurrence relation) that expresses the solution to the original problem in terms of the solutions to its subproblems. This formula is central to the dynamic programming approach, as it dictates how the subproblem solutions are combined;
- Compute the value of an optimal solution in a bottom-up fashion using the recursive formula;
- Analyze the time complexity: The time complexity is generally proportional to the number of subproblems multiplied by the time required to solve each subproblem.
For a fundamental understanding of dynamic programming algorithms and their examples, readers are encouraged to consult Introduction to Algorithms [19]. In this paper, our dynamic programming algorithm is capable of solving the -clique transversal problem in time for a distance-hereditary graph G, where is the cardinality of a maximum clique in the graph G (when the context is clear, we also use interchangeably).
We develop this dynamic programming algorithm by employing binary ordered decomposition trees—specifically, -trees—of distance-hereditary graphs. The idea is to leverage the tree decomposition, a structural characterization of distance-hereditary graphs, to represent the graph as a tree structure where dynamic programming can be efficiently applied to the nodes. Tree decompositions, which capture the hierarchical nature of distance-hereditary graphs, facilitate breaking down the problem into smaller, more manageable subproblems that can be solved iteratively.
For specific examples of dynamic programming algorithms applied to distance-hereditary graphs, readers can refer to research papers [8,20,21,22,23], which address various optimization problems using similar decomposition-based approaches.
To guide the reader through the contributions of this paper, the rest of the paper is organized as follows:
- -
- In Section 2, we provide the necessary background and preliminary definitions required for understanding the subsequent sections. This includes the recursive definition of distance-hereditary graphs and detailed explanations of the four clique transversal problems. The recursive definition introduces the construction of a binary ordered decomposition tree, known as a PTF-tree, which is central to the development of our algorithm;
- -
- Section 3 introduces the -clique transversal problem, details the problem’s constraints and parameters, and explains how it generalizes the four specific clique transversal problems;
- -
- In Section 4, we identify how the optimal solution to the -clique transversal problem can be composed of the solutions to its subproblems and define the recursive formulas using the recursive definition of distance-hereditary graphs;
- -
- Section 5 presents our dynamic programming algorithm for solving the -clique transversal problem. We guide the reader through the design of the algorithm, illustrating how the value of an optimal solution is computed in a bottom-up manner using the recursive formulas. Additionally, we provide a detailed analysis of the algorithm’s time complexity.
2. Preliminaries
This section covers a few fundamental concepts. For a more in-depth exploration, we recommend referring to standard textbooks or monographs, such as the books of Cormen et al. [19] and Diestel [24].
A graph consists of a set of vertices V and a set of edges E. When the vertices and edges of a graph G are not explicitly specified, they are denoted by and , respectively. Typically, a graph is assumed to have n vertices and m edges.
Two graphs and are disjoint if and . The union of and is defined as . For a nonempty subset S of the vertices in a graph G, a subgraph of G induced by S, denoted by , is the graph with vertex set S and edge set . The number of elements in a set S is called the cardinality (or size) of S, denoted by .
A subset of the vertices in a graph is a clique if it consists of only one vertex or if every two distinct vertices in the subset are adjacent. A clique in a graph is maximal if it cannot be contained in any larger maximal clique in the graph. A maximum clique is a maximal clique with the largest possible cardinality. The clique number of a graph G, denoted by , is the cardinality of a maximum clique in G.
A clique transversal set of G is a subset S of the vertices such that for every maximal clique . The clique transversal problem is to find a clique transversal set of G with minimum cardinality. The minimum cardinality of a clique transversal set of G is denoted by .
2.1. Clique Transversal Functions
Given a subset Y of real numbers, let be a function mapping elements from the domain X to the codomain Y. We define as for any subset . The weight of f is defined as .
Definition 1
(See [13]). Consider a graph G and a fixed positive integer k. A function is a k-fold clique transversal function of G is for every . The minimum weight of a k-fold clique transversal function of G is defined as . The k-fold clique transversal problem is to find a k-fold clique transversal function of G with minimum weight.
Definition 2
(See [13]). Consider a graph G and a fixed positive integer k. A function is a -clique transversal function of G if for every . The minimum weight of a -clique transversal function of G is defined as . The -clique transversal problem is to find a -clique transversal function of G with minimum weight.
Definition 3
(See [13]). A function is a signed clique transversal function of a graph if for every . The minimum weight of a signed clique transversal function of G is defined as . The signed clique transversal problem is to find a signed clique transversal function of G with minimum weight.
Definition 4
(See [13]). A function is a minus clique transversal function of a graph if for every . The minimum weight of a minus clique transversal function of G is defined as . The minus clique transversal problem is to find a minus clique transversal function of G with minimum weight.
2.2. Distance-Hereditary Graphs
The distance between two vertices in a graph is the length of the shortest path connecting them. This length is measured by the number of edges in the path. If no path exists between the two vertices, the distance is considered to be infinite. This concept is fundamental in graph theory and is used to determine how “close” or “far apart” vertices are within a graph. The diameter is a related concept, measuring the greatest distance between any two vertices.
A graph is distance-hereditary if the distance between any two vertices in a connected induced subgraph is the same as in the original graph. Thus, any induced subgraph of a distance-hereditary graph is also distance-hereditary. Theorem 1 gives the recursive definition of distance-hereditary graphs.
Theorem 1 ([20,21])
Distance-hereditary graphs can be defined recursively as follows:
- 1.
- A graph G consisting of a single vertex v is distance-hereditary, and the twin set . Such a graph is called a primitive distance-hereditary graph;
- 2.
- Let and be two disjoint distance-hereditary graphs with the twin sets and , respectively. A graph G with , obtained from and through one of the following three operations, is also a distance-hereditary graph:
- (a)
- False twin operation: The graph G is formed by the union of and , with , and denoted by ;
- (b)
- True twin operation: The graph G is formed by connecting every vertex of to all vertices of , with , and denoted by ;
- (c)
- Pendant vertex operation: The graph G is formed by connecting every vertex of to all vertices of , with , and denoted by .
By Theorem 1, a distance-hereditary graph G has a twin set , which is a subset of and defined recursively. This theorem also describes the construction of a binary ordered decomposition tree, known as a -tree, which consists of nodes and can be built in linear time. In a -tree, each leaf represents a single-vertex graph, and each internal node labeled by ⨁, ⨂, or ⨀ corresponds to an operation from the theorem. Figure 1 illustrates a distance-hereditary graph and its -tree.
Figure 1.
(a) A distance-hereditary graph G. (b) A -tree of G.
Definition 5.
Let denote the set of all maximal cliques in a distance-hereditary graph G. Consequently, represents the set of all maximal cliques in the subgraph . We define as the set of maximal cliques in G that are also maximal cliques in . Conversely, is defined as the set of maximal cliques in G that are not maximal cliques in . Thus, the set of all maximal cliques in G can be expressed as .
Definition 6.
Let and be disjoint distance-hereditary graphs. Suppose that G is either or . We define as the set , and .
Lemma 1 ([22]).
Suppose that G is a primitive distance-hereditary graph with the vertex v. Then, and .
Lemma 2 ([22]).
Let and be disjoint distance-hereditary graphs. If , then
- 1.
- ;
- 2.
- ,;
- 3.
- ; and
- 4.
- .
Lemma 3 ([22]).
Let and be disjoint distance-hereditary graphs. If , then
- 1.
- ;
- 2.
- ;
- 3.
- ; and
- 4.
- .
Lemma 4 ([22]).
Let and be disjoint distance-hereditary graphs. If , then
- 1.
- ;
- 2.
- ;
- 3.
- ; and
- 4.
- .
3. The -Clique Transversal Problem
Let G be a graph and . Suppose that and are fixed. A function is a -clique transversal function of G if for every . The minimum weight of a -clique transversal function of G is defined as . The -clique transversal problem is to find a -clique transversal function of G with minimum weight.
Remark 1.
Suppose that G is a graph and b is an integer. Let and be fixed. If , then G has no -clique transversal function. If , then .
Lemma 5.
Let G be a graph. Then,
- 1.
- ;
- 2.
- ;
- 3.
- ; and
- 4.
- .
Proof.
The statements can be easily verified according to their definitions. □
Lemma 5 demonstrates that the k-fold clique, -clique, minus clique, and signed clique transversal problems are particular cases of the -clique transversal problem. The formulation provides a unified approach to solving these four clique transversal problems. Additionally, following Remark 1, we focus the problem on a distance-hereditary graph G for b within the range .
4. Identifying Subproblem Solutions and Defining the Recursive Formulas
This section explores the methodology for addressing the -clique transversal problem by decomposing it into smaller, more manageable subproblems using the recursive definition of distance-hereditary graphs. This section demonstrates how the optimal solution can be systematically constructed by combining the solutions to these subproblems. It also introduces the recursive formulas that forms the foundation of this approach, guiding the reader through the step-by-step process of building the complete solution.
Definition 7.
Suppose that is a distance-hereditary graph and . Let be integers such that are fixed, and .
- (1)
- A function is a -clique transversal function of G if the following conditions are all satisfied:
- (i)
- and ;
- (ii)
- for every ;
- (iii)
- for every .
The minimum weight of a -clique transversal function of G is defined as . If a -clique transversal function of G does not exist, then ; - (2)
- A function is a -clique transversal function of G if the following conditions are all satisfied:
- (i)
- and ;
- (ii)
- for every ;
- (iii)
- for every .
The minimum weight of a -clique transversal function of G is defined as . If a -clique transversal function of G does not exist, then ; - (3)
- A function is a -clique transversal function of G if the following conditions are all satisfied:
- (i)
- and ;
- (ii)
- for every ;
- (iii)
- for every ;
- (iv)
- for every .
We use to denote the minimum weight of a -clique transversal function of G. If a -clique transversal function of G does not exist, then .
Theorem 2.
Suppose that G is a distance-hereditary graph and . Let and be fixed. Then, can be computed as follows:
- (1)
- If and , then
- (2)
- If and , then
- (3)
- If and , then
Proof.
By Definition 5, . If and , then G has no vertices. Therefore, only three cases need to be considered:
- (1)
- and ;
- (2)
- and ;
- (3)
- and .
In the following, we only prove the correctness of the statement for Case 3; Statements (1) and (2) can be proved similarly.
In this case, and . By Definition 7, a -clique transversal function of G is a -clique transversal function of G. Thus,
Conversely, let and f be a -clique transversal function of G. Clearly, and . Let . The function f is a -clique transversal function of G. Hence,
Based on the above discussion, Statement (3) therefore holds. □
Lemma 6.
Suppose that G is a distance-hereditary graph and is a subgraph of G consisting of only one vertex v. Let , and let be integers such that are fixed, and . Then, , , and can be computed as follows:
- (1)
- ;
- (2)
- ;
- (3)
- Let . Then,
Proof.
The graph consists of only one vertex v. By Theorem 1, we have . Then, , and . By Definition 7, we obtain and . Statements (1) and (2) therefore hold.
We now consider Statement (3). Let f be a -clique transversal function f of . Clearly, . By Definition 7, for every , and for every . Note that . Therefore, . We consider the following cases.
Case 1: . Obviously, .
Case 2: . Let
. Then,
Assume that there exists an integer such that and . However, this leads to a contradiction as follows:
Hence, .
Case 3: . Then, . This contradicts the requirement that . Consequently, . □
Lemma 7.
Suppose that G is a distance-hereditary graph and is an induced subgraph of G formed from two disjoint distance-hereditary graphs and . Let , and let be integers such that are fixed, and . Then, , , and can be computed as follows:
- (1)
- Assume that and ;
- (1.1)
- ;
- (1.2)
- ;
- (1.3)
- (2)
- Assume that and ;
- (2.1)
- ;
- (2.2)
- ;
- (2.3)
- Let . Then, .
- (3)
- Assume that and ;
- (3.1)
- ;
- (3.2)
- ;
- (3.3)
- Let . can be computed as follows:
- (3.3.1)
- If and , and and , then
- (3.3.2)
- If and , and and , then
- (3.3.3)
- If and , and and , then
- (3.3.4)
- If and , and and , then
Proof.
By definition, an induced subgraph of a distance-hereditary graph is also distance-hereditary. The graph is distance-hereditary and . If and , then has no vertices. Therefore, only three cases need to be considered based on their emptiness:
- and ;
- and ;
- and .
(1) Assume that and . By Definition 7, and . Statements (1.1) and (1.2) therefore hold.
Now, let us consider Statement (1.3). Since , by Theorem 1, we have and . Following Lemma 2, we know that
- ; and
- .
Let and be -clique transversal functions of and , respectively. Let f be a function of such that for every , and for every . For every maximal clique , either or . Therefore, either or . Similarly, either or for every . The function f is a -clique transversal function of . Hence,
Conversely, let f be a -clique transversal function of . Let be a function of such that for every , and let be a function of such that for every .
For every (respectively, , (respectively, ). Therefore, (respectively, ) for every (respectively, ). Similarly, (respectively, ) for every (respectively, ). Thus, the functions and are -clique transversal functions of and , respectively. Consequently,
The above discussion shows that . Statement (1.3) therefore holds.
(2) Assume that and . Following Definition 7, we can conclude that Statements (2.1) and (2.2) are true. We now consider Statement (2.3). Following Lemma 2, we know that
- ; and
- .
Recall that and . Since , we have . Therefore, and .
Let and be -clique transversal functions of and , respectively. By Definition 7, for every , and for every . Note that . Therefore, for every and . Similarly, for every and . Let . Thus, and are -clique transversal functions of and , respectively.
Let f be a function of such that for every , and for every . For every maximal clique , either or . Hence, either or . Similarly, either or for every . The function f is a -clique transversal function of . Consequently,
Conversely, let f be a -clique transversal function of , and let . By Definition 7, for every , and for every . Note that . Therefore, for every and . The function f is a -clique transversal function of .
Let be a function of such that for every , and let be a function of such that for every . Recall that
- ; and
- .
Thus, for every and . Similarly, for every and . The functions and are -clique transversal functions of and , respectively. Consequently,
The above discussion shows that . Statement (2.3) therefore holds.
(3) Assume that and . By Definition 7, and . Statements (3.1) and (3.2) therefore hold. Next, we consider the remaining statements.
Note that and . Let . Given and , we consider four cases:
Case 1: and ; and ;
Case 2: and ; and ;
Case 3: and ; and ;
Case 4: and ; and .
In the following, we prove the statement for Case 1. The statements for the other cases can be proven similarly.
Let and be -clique transversal functions of and , respectively. Let f be a function of such that for every , and for every . For every maximal clique , either or . Therefore, either or . Similarly, either or for every maximal clique . For each clique , either or , and, thus, either or . The function f is a -clique transversal function of . Hence,
Conversely, let f be a -clique transversal function of . Let be a function of such that for every , and let be a function of such that for every . Consider the function . It is straightforward that (respectively, and ) for every (respectively, and . Therefore, (respectively, and ) for every (respectively, and ). Similarly, (respectively, and ) for every (respectively, and ). Thus, the functions and are -clique transversal functions of and , respectively. We have
The above discussion shows that . Statement (3.3.1) therefore holds. □
Lemma 8.
Suppose that G is a distance-hereditary graph and is an induced subgraph of G formed from two disjoint distance-hereditary graphs and . Let , and let be integers such that are fixed, and . Then, , , and can be computed as follows:
- (1)
- Assume that and ;
- (1.1)
- ;
- (1.2)
- ;
- (1.3)
- Let , , and . Then, and
- (2)
- Assume that and ;
- (2.1)
- ;
- (2.2)
- ;
- (2.3)
- Let . Let , , and . Then, . can be computed as follows:
- (2.3.1)
- If and , and and , then
- (2.3.2)
- If and , and and , then
- (2.3.3)
- If and , and and , then
- (2.3.4)
- If and , and and , then
Proof.
By Theorem 1, is a distance-hereditary graph formed by connecting every vertex of to all vertices of , and . The union of a maximal clique of and a maximal clique of is a maximal clique in . Furthermore, by Lemma 3. Therefore, . There are two cases to consider:
- and ;
- and .
(1) Assume that and . By Definition 7, Statements (1.1) and (1.2) are true.
Let f be a -clique transversal function of , and let . By Definition 7, for every , and for every . Note that . Therefore, for every and . The function f is a -clique transversal function of . We have
Conversely, let f be a -clique transversal function of . By Definition 7, we obtain that for every , and for every . The function f is a -clique transversal function of . Thus,
Following the discussion above, we know that . Next, let us consider the equation for .
Let , and . Let and be integers such that , and . Let be -clique transversal function of and be -clique transversal function of . By Definition 7, for every and . Similarly, for every and .
Let f be a function of such that for every , and for every . A maximal clique is the union of a clique and a clique . Hence, . Note that . We obtain for every . The function f is a -clique transversal function of . Consequently,
Conversely, let f be a -clique transversal function of . Let be a function of such that for every , and let be a function of such that for every . Recall that . We know that and . Furthermore, a maximal clique is the union of a maximal clique of and a maximal clique of . Thus, .
Let and such that and are the smallest values in and , respectively. Then, the clique is a maximal clique in .
Let and . Then, . Since and are no more than , . If , then there exist two integers and such that
- (i)
- ;
- (ii)
- ;
- (iii)
- , and .
If , let and . Therefore, there exist two integer and such that , for every , and for every . Obviously, . The function is a -clique transversal function of , and is a -clique transversal function of . Consequently,
Hence, . Statement (1.3) therefore holds.
(2) Assume that and . By Definition 7, and . Statements (2.1) and (2.2) therefore hold.
Let . Using arguments similar to those for proving when and , we can prove . We now consider the equation for .
Note that and . Let . Given and , we consider the following:
Case 1: and , and and ;
Case 2: and , and and ;
Case 3: and , and and ;
Case 4: and , and and .
In the following, we prove the statement for Case 1. The statements for the other cases can be proven similarly.
Let and . Let and be integers such that and . Let be a -clique transversal function of and be a -clique transversal function of . By Definition 7, for every and . Similarly, for every and .
Let f be a function of such that for every , and for every . By Lemma 3, . For every maximal clique , either or . Therefore, for every , and for .
For each maximal clique , C is also a maximal clique of and it is the union of a clique and a clique . Thus, . The function f is a -clique transversal function of . Hence,
Conversely, let f be a -clique transversal function of . Let be a function of such that for every , and let be a function of such that for every .
By Lemma 3, . For each maximal clique , either or . Therefore, for every , and for every .
By Lemma 3, . For each maximal clique , C is the union of a clique and a clique . Then, . By applying arguments similar to those used in proving Statement (1.3), there exist two integers and such that , for every , and for every . Clearly, . By definition, and . Then, for every , and for every . Thus, is a -clique transversal function of , and is a -clique transversal function of . Hence,
We have . Statement (2.3.1) therefore holds. □
Lemma 9.
Suppose that G is a distance-hereditary graph and is an induced subgraph of G formed from two disjoint distance-hereditary graphs and . Let , and let be integers such that are fixed, and . Then, , , and can be computed as follows:
- (1)
- ;
- (2)
- ;
- (3)
- Let , and . can be computed as follows:
- (3.1)
- Assume that and ;
- (3.1.1)
- If and , then
- (3.1.2)
- If and , then
- (3.1.3)
- If and , then
- (3.2)
- Assume that and ;
- (3.2.1)
- If and , then
- (3.2.2)
- If and , then
- (3.2.3)
- If and , then
- (3.3)
- Assume that and ;
- (3.3.1)
- If and , then
- (3.3.2)
- If and , then
- (3.3.3)
- If and , then
Proof.
The graph is obtained by connecting every vertex of to all vertices of , and . By Lemma 4, we have and . By Definition 7, Statements (1) and (2) are true.
We now consider the following three cases for computing the equation for . Let . If and , then has no vertices. Therefore, only three cases need to be considered based on their emptiness:
Case 1: and ;
Case 2: and ;
Case 3: and .
Each case above has three subcases. Below, we prove the statements for Case 1 and its subcases. The statements for the other cases and their subcases can be proven similarly.
Case 1: and . Let and .
Case 1.1: and . Let and be integers such that , , and .
Let be a -clique transversal function of and be a -clique transversal function of . By Definition 7, for every or every . Similarly, for every or every . Furthermore, for every and for every .
Let f be a function of such that for every , and for every . By Lemma 4, and .
Let . If or , then for every , and for every . If , then there exist two cliques and such that , , and . Therefore, . We obtain for every . Let . In this case, . Thus, . The function f is a -clique transversal function of . Consequently,
Conversely, let f be a -clique transversal function of . Let be a function of such that for every , and let be a function of such that for every .
By Lemma 4, and . Let . Then, . Therefore, for every , and for every .
Let and . The clique is a maximal clique in . We have
In this case, . Then, and . It is not difficult to see that and . Consequently, there exist two integers and such that
- (i)
- ;
- (ii)
- ;
- (iii)
- ;
- (iv)
- for every ; and
- (v)
- for every .
Note that and . Thus, for every , and for every . The function is a -clique transversal function of , and is a -clique transversal function of . We obtain
Consequently, . Statement (3.1.1) therefore holds.
Case 1.2: and . Let and be integers such that , , and .
Let be a -clique transversal function of and be a -clique transversal function of . By Definition 7, for every or every , and for every . Furthermore, for every and for every .
Let f be a function of such that for every , and for every . By Lemma 4, and .
Let . If or , then for every , and for every . If , then there exist two cliques and such that , , and . Therefore, . We obtain for every . Let . In this case, . Thus, . The function f is a -clique transversal function of . Consequently,
Conversely, let f be a -clique transversal function of . Let be a function of such that for every , and let be a function of such that for every .
By Lemma 4, and . Let . Then, . Therefore, for every , and for every .
Let and . The clique is a maximal clique in . We have
In this case, . Then, and . It is not difficult to see that and . Consequently, there exist two integers and such that
- (i)
- ;
- (ii)
- ;
- (iii)
- ;
- (iv)
- for every ; and
- (v)
- for every .
Note that . Thus, for every . The function is a -clique transversal function of , and is a -clique transversal function of . Hence,
We obtain . Statement (3.1.2) therefore holds.
Case 1.3: and . Following the arguments similar to those for proving Case 1.2, we can prove that Statement (3.1.3) is true. □
5. The Algorithm
By Lemmas 1–9 and Theorem 2, we introduce Algorithm 1 to compute for a distance-hereditary graph G using dynamic programming. The algorithm uses an input -tree T of G rooted at r to break down the graph into smaller subproblems represented by nodes and traverses the tree in post order, ensuring that all children of a node are processed before the node itself. At each node, the algorithm solves the subproblem using results from its children, applying dynamic programming principles, and combines solutions from the child nodes to solve the parent node’s problem, storing results to avoid redundant calculations. The root node contains the solution to the original problem after all nodes are processed.
For each node of T, let be the subtree of T rooted at node . The algorithm uses to represent the subgraph of G induced by the leaves of . Thus, represents a vertex or a subgraph formed by operations on its children. If is not a leaf, and are its left and right child nodes, respectively.
For each visited node , we compute , , and for based on Lemmas 1–9 and Theorem 2. We assume that the root of T is node r, so . Note that there are nodes in a -tree. See Algorithm 1 for further details.
| Algorithm 1: |
![]() |
Theorem 3.
Suppose that G is a distance-hereditary graph with the clique number ω. Let , and let be integers such that are fixed, and . Algorithm 1 computes in time.
Proof.
The correctness of Algorithm 1 can be verified by Lemmas 1–9 and Theorem 2. To analyze the running time, we proceed as follows:
- Initialization:
- Sorting the nodes of the -tree T in post-order takes time;
- Computing the clique number for a distance-hereditary graph also takes time [23]. Therefore, computing and takes time if the clique number is not given as an input;
- Main Loop:
- The algorithm processes nodes of the tree;
- For each node, it iterates over all combinations of within the range , where and ;
- The total number of combinations is ;
- Inner Loop Computation:
- For each node combination of , the algorithm computes , , and by the specified lemmas. Each computation is ;
- Complexity Per Node:
- The computations for each node result in the time complexity of ;
- Total Complexity:
- The final two steps are to compute by Lemmas 1–4 and Theorem 2, and output the result. They take time;
- Since there are nodes in the tree, the total running time is .
□
6. Conclusions
This study presents a significant advancement in understanding and applying clique transversal problems within distance-hereditary graphs by introducing the -clique problem. The framework proposed herein offers a unified approach to addressing various clique-related problems, enhancing both the theoretical foundations and practical implementations in this domain. One of the key contributions is the development of a dynamic programming algorithm with the complexity of , which is efficient for distance-hereditary graphs. This algorithm not only streamlines the process of solving these complex problems but also sets the stage for its potential application to other graph classes. The efficiency and practicality of the algorithm make it a valuable tool for researchers and practitioners working with large-scale graphs where clique problems are prevalent. Moreover, this work has broader implications in graph theory, offering new insights into the structure and behavior of distance-hereditary graphs. By providing a comprehensive framework and a powerful algorithmic tool, this paper opens up new avenues for research and application in related fields, such as network analysis, bioinformatics, and social network modeling. Future research could build upon these findings by extending the proposed methods to other graph classes. Further optimization of the dynamic programming algorithm could enhance its performance, making it applicable to even larger and more complex graph structures. Such advancements would not only broaden the scope of this work but also significantly contribute to the overall body of knowledge in algorithmic graph theory.
Funding
This research is partially supported by grant No. NSC-97-2218-E-130-002-MY2.
Data Availability Statement
Data is contained within the article.
Acknowledgments
The author would like to express his sincere gratitude to the reviewers for their insightful comments and suggestions, which have significantly contributed to the improvement of this paper. Their thorough and constructive feedback has helped to clarify key points, refine the analysis, and enhance the overall quality of the work. The author deeply appreciates their time and effort in reviewing the manuscript and their dedication to advancing research in this field.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Howorka, E. A characterization of distance-hereditary graphs. Q. J. Math. Second. Ser. 1977, 28, 417–420. [Google Scholar] [CrossRef]
- Bandelt, H.J.; Mulder, H.M. Distance-hereditary graphs. J. Comb. Theory Ser. B 1986, 41, 182–208. [Google Scholar] [CrossRef]
- Changat, M.; Kamalolbhavan-Sheela, L.K.; Narasimha-Shenoi, P.G. The axiomatic characterization of the interval function of distance hereditary graphs. Discret. Appl. Math. 2024, 350, 62–70. [Google Scholar] [CrossRef]
- Cicerone, S.; Stefano, G. Mutual-visibility in distance-hereditary graphs: A linear-time algorithm. Procedia Comput. Sci. 2023, 223, 104–111. [Google Scholar] [CrossRef]
- Dragan, F.F.; Guarnera, H.M. Eccentricity function in distance-hereditary graphs. J. Comb. Theory Ser. B 2020, 833, 26–40. [Google Scholar] [CrossRef]
- Ducoffe, G.; Popa, A. The b-Matching problem in distance-hereditary graphs and beyond. Discret. Appl. Math. 2021, 305, 233–246. [Google Scholar] [CrossRef]
- Gavrilyuk, A.L.; Nedela, R.; Ponomarenko, I. The Weisfeiler–Leman Dimension of Distance-Hereditary Graphs. Graphs Comb. 2023, 39, 84. [Google Scholar] [CrossRef]
- Lin, C.-C.; Ku, K.-C.; Hsu, C.-H. Paired-Domination Problem on Distance-Hereditary Graphs. Algorithmica 2020, 82, 2809–2840. [Google Scholar] [CrossRef]
- Montealegre, P.; Ramà rez-Romero, D.; Rapaport, I. Compact Distributed Interactive Proofs for the Recognition of Cographs and Distance-Hereditary Graphs. In Proceedings of the 23rd International Symposium on Stabilization, Safety, and Security of Distributed Systems, SSS 2021, Virtual Event, 17–20 November 2021; Lecture Notes in Computer Science. Volume 13046, pp. 395–409. [Google Scholar]
- Yamazaki, K.; Qian, M.; Uehara, R. Efficient enumeration of non-isomorphic distance-hereditary graphs and related graphs. Discret. Appl. Math. 2024, 342, 190–199. [Google Scholar] [CrossRef]
- Groshaus, M.; Terragno, J.C. Biclique transversal and biclique independent set. Procedia Comput. Sci. 2023, 223, 140–147. [Google Scholar] [CrossRef]
- Lee, C.-M. Remarks on Parameterized Complexity of Variations of the Maximum-Clique Transversal Problem on Graphs. Symmetry 2022, 14, 676. [Google Scholar] [CrossRef]
- Lee, C.-M. Exploring Clique Transversal Problems for d-degenerate Graphs with Fixed d: From Polynomial-Time Solvability to Parameterized Complexity. Axioms 2024, 6, 382. [Google Scholar] [CrossRef]
- Manuel, P.; Bres̆ar, B.; Klavz̆ar, S. The geodesic-transversal problem. Appl. Math. Comput. 2022, 413, 367–376. [Google Scholar] [CrossRef]
- Liu, K.; Lu, M. Complete-Subgraph-Transversal-Sets problem on bounded treewidth graphs. J. Combin. Optim. 2021, 41, 923–933. [Google Scholar] [CrossRef]
- Mendes, W.D.; Dantas, S.; Gravier, S.; Marinho, R. The (a,b)-monochromatic transversal game on clique-hypergraphs of powers of cycles. In Proceedings of the 11th Latin and American Algorithms, Graphs and Optimization Symposium, LAGOS2021, Sao Paulo, Brazil, 17–21 May 2021. [Google Scholar]
- Milanic̆, M.; Uno, Y. Upper Clique Transversals in Graphs. In Proceedings of the 49th International Workshop on Graph-Theoretic Concepts in Computer Science, WG 2023, Fribourg, Switzerland, 28–30 June 2023; Lecture Notes in Computer Science. Volume 14093, pp. 432–446. [Google Scholar]
- Tang, Z.; Diao, Z. Approximation Algorithms on k-Cycle Transversal and k-Clique Transversal. J. Oper. Res. Soc. China 2021, 9, 883–892. [Google Scholar] [CrossRef]
- Cormen, T.H.; Leiserson, C.E.; Rivest, R.L.; Stein, C. Introduction to Algorithms, 4th ed.; MIT Press: Cambridge, MA, USA, 2022. [Google Scholar]
- Chang, M.-S.; Hsieh, S.-Y.; Chen, G.-H. Dynamic programming on distance-hereditary graphs. In Proceedings of the 8th International Symposium on Algorithms and Computation, ISAAC’97. Singapore, 17–19 December 1997; Lecture Notes in Computer Science. Volume 1350, pp. 344–353. [Google Scholar]
- Hsieh, S.-Y.; Ho, C.-W.; Hsu, T.-S.; Ko, M.-T.; Chen, G.-H. Characterization of efficiently parallel solvable problems on distance-hereditary graphs. SIAM J. Discrete Math. 2002, 15, 488–518. [Google Scholar] [CrossRef]
- Lee, C.-M.; Chang, M.-S. Distance-hereditary graphs are clique-perfect. Discret. Appl. Math. 2006, 154, 525–536. [Google Scholar] [CrossRef]
- Lee, C.-M. Variations of maximum-clique transversal sets on graphs. Ann. Oper. Res. 2010, 181, 21–66. [Google Scholar] [CrossRef]
- Diestel, R. Graph Theory, 5th ed.; Springer: Berlin/Heidelbergs, Germany, 2017. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
