Abstract
Graph search algorithms have exploited graph extremities, such as the leaves of a tree and the simplicial vertices of a chordal graph. Recently, several well-known graph search algorithms have been collectively expressed as two generic algorithms called MLS and MLSM. In this paper, we investigate the properties of the vertex that is numbered 1 by MLS on a chordal graph and by MLSM on an arbitrary graph. We explain how this vertex is an extremity of the graph. Moreover, we show the remarkable property that the minimal separators included in the neighborhood of this vertex are totally ordered by inclusion.
1. Introduction
Various properties that identify a vertex as an extremity of a graph have long been exploited in both graph theory and the design of efficient graph algorithms. The endpoints of a path, for example, are its two extremities; leaves are the extremities of a tree. Because this simple notion has proved very useful in dealing with trees, graph theorists have endeavored to extend it to broader graph classes.
For chordal graphs (graphs with no chordless cycle of length greater than 3), extremities were defined as the simplicial vertices (a vertex is simplicial if its neighborhood is a clique), concurrently by Dirac [1] and by Lekkerkerker and Boland [2]. This concept led to efficient recognition algorithms for chordal graphs, based on the characterization of Fulkerson and Gross [3], who showed that a graph is chordal if and only if it has a simplicial elimination scheme, which repeatedly finds a simplicial vertex and removes it from the graph. This process defines an ordering α on the vertices, called a perfect elimination ordering (peo for short).
To compute a peo efficiently, Rose, Tarjan and Lueker [4] introduced Algorithm LexBFS (Lexicographic Breadth-First Search). LexBFS finds a peo in a single linear-time pass if the input graph is chordal, numbering the vertices from n to 1. Thus the vertex numbered 1 by LexBFS is a simplicial vertex (we will say that LexBFS ends on a simplicial vertex).
Tarjan and Yannakakis [5] later simplified LexBFS into MCS (Maximum Cardinality Search), which likewise finds a peo in a chordal graph and thus ends on a simplicial vertex. Both algorithms work by numbering the vertices from n to 1. They maintain, for each unnumbered vertex, a label which corresponds to the set of already numbered neighbors. At each step, a vertex of maximum label is chosen to be numbered next. (LexBFS and MCS are given in Section 3.) These algorithms, which are graph search algorithms, have thus been specifically designed to find an extremity in a chordal graph. As we will explain in Section 2, both LexBFS and MCS actually find a special kind of simplicial vertex.
For special classes of non-chordal graphs, search algorithms have been proved to define other forms of extremities: Dahlhaus, Hammer, Maffray and Olariu [6] used MCS to find a domination elimination ordering on HHD-free graphs; on AT-free graphs, Corneil, Olariu and Stewart [7] defined dominating pairs of vertices, and used LexBFS to find such a pair efficiently [8], as the vertex numbered 1 by LexBFS belongs to a dominating pair, and a second pass of LexBFS will find a second such vertex.
Results have also been proved on LexBFS for powers of graphs: Brandstädt, Dragan and Nicolai [9] show that any LexBFS-ordering of a chordal graph is a common perfect elimination ordering of all odd powers of this graph. (see also e.g. [10] on distance-hereditary graphs).
In view of these results, we will now focus our attention on a broader spectrum of search algorithms.
Corneil and Krueger [11] introduced MNS (Maximal Neighborhood Search), as an algorithm which encompasses both LexBFS and MCS, and also computes a peo if the graph is chordal. Berry, Krueger and Simonet [12] extended the family of search algorithms by defining a generic algorithm MLS (Maximal Label Search). Algorithm MLS has two input variables: a graph and a labeling structure describing a set of labels and a partial order on this set. Thus MLS defines a family of search algorithms, each different labeling structure defining a search algorithm. LexBFS and MCS for example are obtained as instances of MLS by choosing specific labeling structures, which are given in Section 3. [12] further showed that the set of orderings of the vertices of a given graph computable by MLS (with all possible labeling structures) is equal to the set of orderings computable by MNS, which ensures that MLS always finds a peo if the graph is chordal.
In this paper, we investigate the extremities which the MLS family of algorithms define as vertex number 1. Our aim is to contribute elements which can help in the design of graph algorithms, in particular for exploiting structural properties of the input graph.
The paper is organized as follows:
- In Section 2, we give some basic graph notations which we use throughout, and then discuss chordal graphs and their extremities in further detail, explaining how minimal separators can help refine the notion of simplicial vertex.
- We then go on to present minimal triangulations and their relationship with search algorithms. Section 3 gives the general MLS search algorithm, as well as specific instances of MLS such as LexBFS and MCS.
- After these sections which summarize and explain previous results, we examine in Section 4 the specific structure of the minimal separators included in the neighborhood of the vertex labeled 1 by search algorithms, and also discuss the fashion in which these algorithms number the connected components defined by these separators.
- In Section 5, we specify what kind of extremity this vertex numbered 1 is, depending on what kind of labeling structure is used.
- Section 6 examines the special properties exhibited by LexBFS.
- In Section 7, we discuss the specific orderings defined by MLS and MLSM.
- In Section 8, we examine the problem of deciding whether a given vertex is the number 1 vertex of an MLS execution.
- We conclude in Section 9.
2. Notations and Previous Results
We will begin this section with a few notations, then go on to discuss minimal separation, chordal graphs and minimal triangulation.
2.1. Basic definitions and notations
All graphs in this work are undirected and finite. A graph is denoted , with , and . The subgraph of G induced by the subset A of vertices is denoted . The neighborhood of a vertex x in G is denoted . The closed neighborhood is . The neighborhood of a set of vertices A is , and (we will omit subscript G when the graph we work on is clear from the context.)
A clique is a set of pairwise adjacent vertices. A module is a subset X of vertices which share the same external neighborhood: .
A graph is connected if for any pair of vertices, there is a path from x to y. When a graph is not connected, the maximal connected subgraphs are called the connected components of the graph.
An ordering α on the set V of vertices is a one-to-one mapping from to V. In every figure of this paper showing an ordering α on V, a vertex x will be named by its number . To simplify notations, we will sometimes refer to vertex as simply 1.
Throughout, for any integers , will denote the set of integers .
2.2. Minimal separators and chordal graphs
A notion which is central to chordal graphs and their extremities is that of minimal separation:
Definition 2.1 A subset S of vertices of a connected graph G is called a separator (or sometimes a cutset ) if is not connected. A separator S is called an -separator if a and b lie in different connected components of , a minimal -separator if S is an -separator and no proper subset of S is an -separator. A separator S is a minimal separator , if there is some pair such that S is a minimal -separator.
Alternately, S is a minimal separator if and only if has at least 2 connected components and such that , and S is a minimal separator for any with and .
Example 2.2 In Figure 1, the minimal separators of the graph are: . Minimal separator defines connected components and . In Figure 2, the minimal separators are: . Note how minimal separator is included in minimal separator , which minimally separates vertices from vertices , while minimal separator minimally separates vertices from vertex h.
Figure 1.
Chordal graph with set of minimal separators . The substars of a are . The moplexes are and . Vertex a is simplicial but does not belong to a moplex. and .
Figure 2.
Chordal graph with set of minimal separators . is a moplex.
Dirac [1] introduced the concept of minimal separator in order to characterize chordal graphs as the class for which every minimal separator is a clique. This notion was concurrently (though implicitly) used by Lekkerkerker and Boland [2], as they defined the notion of substar: the substars of a vertex x are the minimal separators included in the neighborhood of x. [2] characterized chordal graphs as the graphs for which every substar of every vertex is a clique. We will see later on in this paper that the notion of substar will help us refine some notions of extremities.
Definition 2.3 Let be a graph, let x be a vertex of V, let be the connected components of . The substars of x are the elements of .
Property 2.4 The substars of x are the minimal separators included in .
Example 2.5 In Figure 1, the connected components of are: and . , , thus the substars of vertex a are and .
Berry and Bordat [13] refined the notion of simplicial vertex with new kind of extremity. This is a group of pairwise adjacent vertices, which they call a moplex:
Definition 2.6 [13] Let X be a set of vertices of a graph G. X is a moplex of G if X is a clique and a module of G whose neighborhood is a minimal separator.
The vertices of a moplex are in some sense equivalent, because they share the same external neighborhood (i.e., they form a module); thus they also share the same substars. Moreover, this common neighborhood is a minimal separator, which means that there is one largest substar (which includes all the other substars). Note that a moplex X may contain a single vertex x; in this case we will call X a trivial moplex.
The notion of moplex strengthens the notion of simplicial vertex, as in a chordal graph any vertex of a moplex is simplicial, whereas in some chordal graphs, there may be simplicial vertices which do not belong to any simplicial moplex. In Figure 1, for example, a is simplicial but does not belong to a moplex.
[13] showed that LexBFS always ends by numbering consecutively all the vertices of a moplex, even on a non-chordal graph. It follows from [14] that MCS run on a chordal graph has the same property.
This notion of moplex is important in the context of this paper, as our aim is to investigate exactly which kinds of extremities the MLS algorithms define.
2.3. Extremities defined by minimal triangulations
For arbitrary graphs, extremities have been yielded by algorithms which compute a minimal triangulation of a graph (a chordal graph obtained from this graph by adding an inclusion-minimal set of edges).
Obviously, one can use the characterization of Fulkerson and Gross to embed a graph into a chordal graph by repeatedly choosing a vertex, adding to its neighborhood every edge whose absence violates the simpliciality condition, and then removing the vertex from the current graph, thus simulating a simplicial elimination scheme and a perfect elimination ordering α on the vertices. This process (called the elimination game) defines a triangulation of G denoted . Ohtsuki, Cheung and Fujisawa [15] proved that to compute such a triangulation which is minimal, one has to use a special ordering on the vertices, called a minimal elimination ordering (meo for short). [15] showed that an ordering is a meo if and only if at each step of the simplicial elimination game, a special vertex is chosen. Since they did not give these vertices a name, and since the notion is of importance to our work, we call these vertices OCF-vertices. Let us restate their characterization using the notations previously defined in this paper:
Definition 2.7 [15] A vertex x in is an OCF-vertex of G if for every pair of distinct non-adjacent neighbors of x in G, y and z belong to some common substar of x.
[15] showed that in any non-clique graph, there is an OCF-vertex.
Example 2.8 In Figure 3, a is an OCF-vertex: its substars are and , and only edges and are missing in the neighborhood of a.
Figure 3.
A non-chordal graph G. The set of minimal separators of G is: .
An OCF-vertex x can be viewed as an extremity of an arbitrary graph: if x is chosen first in an instance of the elimination game, x will be a simplicial vertex of the corresponding minimal triangulation. The notion of moplex, (the definition of which is not restricted to chordal graphs), also strengthens the notion of OCF-vertex, since all the vertices of a moplex are OCF-vertices, but some OCF-vertices may not belong to a moplex.
In Figure 3, a is an OCF-vertex but does not belong to a moplex. is a moplex, and both g and h are OCF-vertices.
Algorithm LEX M, introduced in the same seminal paper as LexBFS [4], finds a meo efficiently, so vertex number 1 of LEX M is always an OCF-vertex. LEX M was extended to Algorithm MCS-M by Berry, Blair, Heggernes and Peyton [16]. MCS-M computes a meo efficiently using the same label simplification that MCS used to improve LexBFS. In an arbitrary graph, LEX M was shown by [17] to end on a vertex of a moplex.
3. Search Algorithms
To make the paper self-contained, we will now give algorithms MLS and MLSM, as well as its instances LexBFS, MCS and MNS, which are used for examples and counter-examples in this paper.
3.1. Algorithms MLS and MLSM
The definitions of Algorithms MLS and MLSM are based on the notion of labeling structure.
Definition 3.1 [12] A labeling structure is a four-tuple , where:
- L is a finite set of labels,
- ⪯ is a partial order on L, with ≺ denoting the corresponding strict order,
- is an element of L,
- is a mapping from to L such that:for any integer and for any labels l and ,the following properties hold:
- (p1)
- (p2)
- if then
The order ⪯ is used to choose a vertex of maximal label, to initialize the labels, and to increment labels.
Algorithms MLS and MLSM are given below.
| Algorithm MLS (Maximal Label Search)[12] |
| input : A graph and a labeling structure . |
| output : An ordering α on V, which is a peo of G if G is chordal. |
| Initialize all labels as l0; ; |
![]() |
| Algorithm MLSM (Maximal Label Search for Meo)[12] |
| input : A graph and a labeling structure . |
| output : An meo α on V and a minimal triangulation of G. |
| Initialize all labels as l0; ; ; |
![]() |
When using labeling structure with MLS (respectively MLSM), we will refer to the algorithm as -MLS (respectively -MLSM). We call any ordering on V that can be produced by MLS (respectively MLSM, -MLS, -MLSM) an MLS (respectively MLSM, -MLS, -MLSM) ordering.
The following Property was proved in [12]:
Property 3.2 ([12] ) For any graph G and any labeling structure , Algorithm -MLSM computing ordering α on G has the same behavior as -MLS on . That is, they give the same labels and numbers to vertices, provided that they break ties in the same way.
Property 3.2 has two important consequences that are used in this paper:
Consequence 1: Any -MLSM ordering α of G is a -MLS ordering of . Thus a property of MLS on chordal graphs can in some cases be extended to a property of MLSM on arbitrary graphs since is chordal (This is used in Theorem 4.1 and in Property 4.5).
Consequence 2: MLS and MLSM have the same behavior on a chordal graph, since in that case, . Any execution of MLS on a chordal graph can be seen as an execution of MLSM, and conversely. Thus any property of MLSM on arbitrary graphs also holds for MLS on chordal graphs.
3.2. Specific search algorithms
LexBFS, MCS and MNS are instances of MLS and LEX M, MCS-M and MNSM (defined in [12] from MNS) are instances of MLSM, with the following respective labeling structures:
- LexBFS and LEX M: is the set of lists of elements of , ⪯ is lexicographical order(a total order), is the empty list, is obtained from l by adding i to the end of the list.
- MCS and MCS-M: , ⪯ is ≤ (a total order), , .
- MNS and MNSM: is the power set of , ⪯ is ⊆ (not a total order), , .
| Algorithm LexBFS (Lexicographic Breadth-First Search)[4] |
| input : A graph . |
| output : An ordering α of V. |
| Initialize all labels as the empty string; |
![]() |
| Algorithm MCS (Maximal Cardinality Search)[5] |
| input : A graph . |
| output : An ordering α of V. |
| Initialize all labels as 0; |
![]() |
| Algorithm MNS (Maximal Neighborhood Search)[11] |
| input : A graph . |
| output : An ordering α of V. |
| Initialize all labels as the empty set; |
![]() |
LEX M and MCS-M can be directly extended from LexBFS and MCS using MLSM.
4. The Separator Structure in the Neighborhood of Vertex 1
In this section, we will study the substars of the vertex numbered 1 by MLS (on a chordal graph) or MLSM (on an arbitrary graph) (i.e., the minimal separators included in the neighborhood of 1).
4.1. Results on the separator structure
Our main result is that if there are several minimal separators in this neighborhood, then there is an inclusion order on these separators:
Theorem 4.1
- a)
- For any chordal graph H and any MLS ordering α of H, the minimal separators of H included in are totally ordered by inclusion.
- b)
- For any graph G and any MLSM ordering α of G, the minimal separators of G included in are totally ordered by inclusion.
Example 4.2 In Figure 4, describing an execution of MCS on a chordal graph, the substars of 1 are and ; .
Figure 4.
The slices defined by an execution of MCS on a chordal graph. The substars of 1 are and .
In order to prove Theorem 4.1, we need to examine how the search algorithms scan the various connected components defined by these separators. We will need to introduce some notations and definitions in order to describe this.
Let us first explain the structure of the neighborhood of vertex 1, as illustrated by Figure 4.
- The neighborhood of 1 contains minimal separators , which are the substars of 1. In our example from Figure 4, and .
- The removal of defines connected components. In our example, , , .
- The neighborhoods of these components are the substars of 1: ; . Thus with each substar is associated at least one of these components; when there are several components for the same substar, we will need to group them into what we call super-components: is a super-component.
- We will see that in some cases, the MLS algorithms will first number all the vertices of the super-component which corresponds to the smallest substar as well as this substar. It will then go on to number the super-component which corresponds to the second smallest substar as well as what is left of this substar, and so forth. This is the case in our example: substar along with super-component will be numbered first (from 8 to 5), then super-component will be numbered along with what is left of substar , which is , thus numbering from 4 to 3.We will call these numbering classes slices.
- The largest substar, , defines a connected component which contain vertex 1, as well as the neighbors of 1 which do not belong to any substar (2 in our example). This component ( in our example) defines our slice of largest number, and we will see that it defines a moplex.
We will now give precise notations for these notions:
Notations 4.3 For any graph and any ordering α on V,
- a component is a connected component of .
- a super-component is the union of all components with a common neighborhood.
- p denotes the number of super-components
- denotes the sequence of the super-components ordered as follows: , , where denotes the vertex of with maximum number ().
- the slices are the subsets , , ..., of V partitioning V as follows: , , where , and denotes the vertex of with maximum number.We say that α numbers the slices in increasing order if it numbers the vertices of first (with the largest numbers), then the vertices of etc., i.e., if , , .
Example 4.4 Let us summarize what we can see in Figure 4, which shows the slices defined by an execution of MCS on a chordal graph.
- Substars: and .
- Components: , , , with , .
- Super-components:- , , , and ,- , , , and ,- , , , and ,so .
- We observe that:- ,- α numbers the slices in increasing order.
The properties described above can be generalized to the MLS and MLSM orderings, provided that the order on the labels is a total order (such as the one used for LexBFS and MCS):
Property 4.5
- (a)
- For any chordal graph H and any labeling structure , if the order on labels is total then any -MLS ordering of H numbers the slices in increasing order.
- (b)
- For any graph G and any labeling structure , if the order on labels is total then any -MLSM ordering of G numbers the slices in increasing order.
The following (technical) lemma is the basis for our proofs in this section:
Lemma 4.6 For any MLS ordering α of a chordal graph,
- (a) for any i from 1 to p, , if then ,
- (b) for any i from 1 to , ,
- (c) for any i from 1 to , , ,
- (d) for any i from 1 to , if the order on labels is total then , .
We will devote Subsection 4.2. to the proof of this lemma (this subsection can be skipped by the reader not interested in the details of our proofs), then go on to use this lemma to finish our proofs.
4.2. A technical lemma
To prove Lemma 4.6, we will use the following notations and preliminary Lemmas.
Notations 4.7 For any execution of MLS on any graph G computing ordering α and any vertices x and y of G such that ,
(i) denotes the label of y just before numbering x,
(ii) denotes the set of Numbered Neighbors of y just before numbering x, i.e., .
The subscript will be omitted when the considered step is clear from the context.
The following Lemma is given in [12].
Lemma 4.8 ([12]) At any step of an execution of MLS on a graph G, for any unnumbered vertices of G,
(i) if then ,
(ii) if then .
Lemma 4.9 For any MLS ordering α of a chordal graph, ,
(1) ,
(2) if then ,
(3) .
Proof: (1) by definition of and (otherwise by Lemma 4.8 , which contradicts the choice of at that step). Hence .
(2) We suppose that . By definition of and , . Let us show that . If then and we are done since by definition of , . Otherwise, assume for contradiction that . Then , and by statement 1 we have: , so , a contradiction.
(3) For any , because (since ), and for any , because by 2), . It follows that , and we show the equality as above for . □
It is easy to show the following lemma:
Lemma 4.10 If G is a chordal graph, μ a chordless path in G and z a vertex of G not belonging to μ and seeing both extremities of μ, then z sees every vertex of μ.
Lemma 4.11 Let G be a chordal graph, let α be an MLS ordering of G, and for , let such that . Since , there exists a chordless path μ from to s such that every internal vertex of μ belongs to . Then the following property P holds just after processing and remains true until numbering s.
P : there is a vertex v of μ such that every vertex of is unnumbered, and , .
Proof: Let us show that P holds just after processing . by Lemma 4.9, so . Also since, as α is a peo of G, is a clique of G. It follows by Lemma 4.10 that for any vertex t of μ, , so , and as the reverse inclusion holds by definition of and , . After processing , is unchanged and P is true, taking as vertex v the vertex of μ next to (which is the only vertex of μ seeing since μ is chordless).
Let us show that P is true after processing some vertex w, .
First case: .
If no vertex of sees w then and P remains true with the same vertex v, otherwise P remains true, taking as new vertex v the last vertex of seeing w.
Second case: .
is an edge of G, as is a clique. We get from edge and path a -path such that every internal vertex t is unnumbered and satisfies , so by Lemma 4.8 . By Property 3.2, this execution of MLS on chordal graph G can be seen as an execution of MLSM, according to which will be an edge of H with . It follows that w sees v in G. By Lemma 4.10 w sees every vertex of . It follows that when processing w, w is added to as well as to for every vertex t of , and P remains true with the same vertex v. □
Lemma 4.12 For any MLS ordering α of a chordal graph, , .
Proof: Suppose there is some such that . Then by Lemma 4.9 . Lemma 4.11 ensures the existence of some vertex v such that , so by Lemma 4.9 and by Lemma 4.8 , which contradicts the choice of at that step. □
Lemma 4.13 For any MLS ordering α of a chordal graph, if the order on labels is total then , , .
Proof: Suppose there is some such that . We can choose d as the first vertex of numbered after . Just before numbering , is maximum (since the order ⪯ is total) with by Lemmas 4.9 and 4.8, so . As by Lemma 4.12, every vertex of is numbered before , remains equal to until d is numbered. We thus only have to prove that is incremented before numbering d. This will lead to a contradiction, since is numbered last.
If , is incremented when numbering and we are done.
If , . By Property 4.14, is not empty, so let . , and by Lemma 4.11, until numbering s, there is some unnumbered vertex v such that , so by Lemma 4.8 , hence . This implies that and as is incremented when processing s, it is incremented before numbering d. □
As Lemma 4.6 a) can be rewritten as , Lemma 4.6 directly follows from Lemmas 4.9, 4.12 and 4.13.
4.3. Proofs of Theorem 4.1 and Property 4.5
Property 4.14 For any chordal graph G and any MLS ordering α of G, for any super-component , , .
Proof: Let , and let such that . By Lemma 4.6 (b) and (c), , so by Lemma 4.6 a) . Thus and, as by definition of the sequence , . □□□□
For any graph G and any ordering α on V, the minimal separators of G included in are exactly the neighborhoods of the components different from [18], which are also the neighborhoods of the super-components of different from . Therefore, Theorem 4.1(a) follows from Property 4.14. Property 4.5(a) follows immediately from Lemma 4.6 (c) and (d).
By Property 3.2 any -MLSM ordering α of any graph G is a -MLS ordering of , which verifies the above neighborhood properties since is chordal. Moreover, the neighborhood of is the same in G as in (by definition of ) and since α is a meo of G, the components of and of are the same with the same neighborhoods. (This follows from Theorem 5.12, Invariant 4.9 and Lemma 6.2 in [19]). Thus the super-components, their neighborhoods and the slices of and of are the same, and Theorem 4.1(a) and Property 4.5(a) extend to MLSM on an arbitrary graph, yielding Theorem 4.1(b) and Property 4.5(b).
If the order on the labels is not total, an -MLSM ordering (or an -MLS ordering on a chordal graph) does not necessarily number the slices in increasing order. Figure 5 gives a counterexample demonstrating this.
Figure 5.
This MNS ordering does not number slices in increasing order on this chordal graph. (The MNS labels are sets of numbers of neighbors, and set comparison by ⊆ is not a total order.)
4.4. The separator structure of MLS on a non-chordal graph
Though the algorithms of the MLS family were meant to be run on a chordal graph (in order to compute a peo), we investigated MLS run on a non-chordal graph. The results are negative: on a non-chordal graph MLS does not, in general, exhibit properties such as those described above, even when the order ⪯ is total. Figure 6 gives a counter-example of this, using MCS as an instantiation of MLS. The substars of 1 are and , which are not inclusive. The components of are not numbered following any particular order.
However, we will see in Section 5 that MLS run on a non-chordal graph with a total order on the labels always ends on an OCF-vertex of the graph.
Figure 6.
MCS on a non-chordal graph. Substars of 1: and . These substars are not pairwise inclusive.
5. The Extremities Defined by MLS and MLSM
5.1. The extremal moplexes defined by MLS and MLSM
For any MLSM ordering α of a graph G, since α is a meo of G, by [15] is an OCF-vertex of G. We will show a stronger property: is a vertex of a moplex.
Theorem 5.1
- For any chordal graph H and any labeling structure , -MLS ends on a vertex belonging to a moplex. If moreover the order on the labels is total, then the vertices of this moplex are numbered consecutively.
- For any graph G and any labeling structure , -MLSM ends on a vertex belonging to a moplex. If moreover the order on labels is total, then the vertices of this moplex are numbered consecutively.
To prove this, we need only use the properties of the neighborhood of described in Section 4 and the following Lemma.
Lemma 5.2 For any graph G and any vertex x of G, x is a vertex of a moplex if and only if x is an OCF-vertex and the set of minimal separators of G included in has a greatest element with respect to inclusion. In that case, the moplex containing x is .
Proof: We suppose that x is a vertex of a moplex X of G. Then and there is a connected component C of such that . Since X is a clique module of G, any non-adjacent neighbors of x must belong to ; i.e. to , so x is an OCF-vertex of G, and the neighborhood of any connected component of is a subset of i.e. of , so is the greatest minimal separator of G included in with respect to inclusion.
Conversely, we suppose that x is an OCF-vertex of G and the set of minimal separators of G included in has a greatest element with respect to inclusion. Let . We immediately verify that X is a clique module of G, with . Let C be the connected component of such that . X and C are distinct connected components of such that , so is a minimal separator of G and therefore X is a moplex of G. □
Proof: (of Theorem 5.1) Since α is a meo of G, is an OCF-vertex of G [15]. Moreover, by Theorem 4.1, the set of minimal separators of G included in has a greatest element with respect to inclusion. If then , else . (Note that because otherwise G would be reduced to the closed neighborhood of OCF-vertex and would be a clique). It follows by Lemma 5.2 that is a vertex of a moplex X of G, with . So X is equal to either or to . Thus if the order on labels is total then by Property 4.5 -MLSM ends on X.
Since by Property 3.2, any chordal graph has the same -MLS and -MLSM orderings, we complete our proof for chordal graphs. □
5.2. MLS on a non-chordal graph
On a non-chordal graph, in general, an MLS execution does not end on a moplex and does not even end on a vertex of a moplex, even if the order on labels is total, as shown by Figure 6 for MCS. However, we show that if the order on labels is total then MLS does ends on an OCF-vertex.
Theorem 5.3 For any graph G, any labeling structure and any -MLS ordering α of G, if the order on labels is total then is an OCF-vertex of G.
The proof of Theorem 5.3 uses the following Lemma, where for any vertices x and y of G such that , denotes the label of y just before numbering x.
Lemma 5.4 We consider an MLS execution on a graph G computing α and vertices of G such that . If and every neighbor t of v such that is a neighbor of then and every neighbor t of such that is a neighbor of v.
Proof: At every step between numbering u and numbering v, if the label of v is incremented then the label of is incremented too, so by Properties (p1) and (p2) of Definition 3.1 the inequality is preserved, and since is maximal just before numbering v, . Now if some vertex t numbered between u and v was a neighbor of but not of v then the inequality would become , which would be preserved until numbering v, a contradiction. □
Proof: (of Theorem 5.3) We define the partition of V into subsets , , which is a variant of the partition of V into thin slices. For any i in ,
- if , otherwise is the first vertex numbered after not belonging to ,
- if , otherwise is the first vertex numbered after which does not belong to (),
- is the component of containing (),
- is the set of vertices t such that and (if ) , so by definition, the subsets are numbered in increasing order.
Note that for any i in and that there may be distinct i, j such that , so can be greater than the number of components of .
We first show that for any i in , is maximum among labels of unnumbered vertices just before numbering . The proof goes by induction on i. It obviously holds for . We suppose that it holds for some . , and every neighbor t of in is a neighbor of since by definition of , t cannot be in . By Lemma 5.4 with and , and since is maximum at that step (because the order ⪯ is total) is maximum too.
Now let such that . Let us show that either or there is some such that . Let such that .
First case:
Let j be the smallest integer such that and . If then , so by definition of as the first vertex numbered after not belonging to , . Otherwise and by Lemma 5.4 with and , , so . Thus in both cases .
Second case: ,
so by Lemma 5.4 with and , .
Hence is an OCF-vertex of the input graph. □
This is the case in particular for MCS (as shown in [16]).
If the order on labels is not total then MLS does not necessarily end on an OCF-vertex. For instance, let G and α be the graph and the ordering shown in Figure 7. Note that α is an MNS ordering of G and is not an OCF-vertex of G.
Figure 7.
MNS on a non-chordal graph does not end on an OCF-vertex: the substars of 1 are and , but there is no edge 23.
6. LexBFS, a Special Case
Algorithm LexBFS, with respect to the properties discussed so far, exhibits stronger properties than any other algorithm of the MLS family (as far as we know). In fact, LexBFS, run on a non-chordal graph, has the properties which are those of MLS (with a total order) run on a chordal graph:
- Vertex belongs to a moplex, and the vertices of this moplex have consecutive numbers.
- The minimal separators included in the neighborhood of vertex 1 are totally ordered by inclusion.
Moreover, LexBFS refines the numbering of the slices: LexBFS numbers the components of one by one, instead of numbering the slices (which are groups of components) one by one. As we will see, we will thus partition the slices into thin slices.
The following result is shown in [13] see their Theorem 5.1 and their Property 5.5):
Theorem 6.1 [13] In an arbitrary graph, the vertex numbered 1 by LexBFS belongs to a moplex whose vertices are numbered consecutively.
Example 6.2 Figure 8 shows an execution of LexBFS on a non-chordal graph G. The moplex containing is .
Let us now consider an execution of LexBFS on an arbitrary graph G, let be the moplex containing vertex . We will define the thin slices of the execution in a similar fashion to the slices (see Notations 4.3):
Notations 6.3 For any graph and any LexBFS ordering α on V, with the moplex containing vertex ,
- a component is a connected component of , with k the number of such components.
- denotes the sequence of the components ordered as follows: , , where denotes the vertex of with maximum number ().
- the thin slices are the subsets , , ..., of V partitioning V as follows: , , where , and denotes the vertex of with maximum number.We say that α numbers the thin slices in increasing order if it numbers the vertices of first (with the largest numbers), then the vertices of etc., i.e. if , , .
Example 6.4 Figure 9 shows the thin slices defined by the LexBFS execution on a non-chordal graph from Figure 8. The thin slices are: and .
We will use the following two lemmas from [13]:
Lemma 6.5 No vertex of can be numbered before all the vertices of are numbered.
Lemma 6.6 When LexBFS starts numbering , every unnumbered vertex has exactly the same label.
Figure 8.
A LexBFS execution on a non-chordal graph. Moplex containing : . Components of : , , . , .
From Lemma 6.6, we deduce that the restriction of the LexBFS numbering to will also be a LexBFS numbering of the corresponding subgraph. LexBFS will thus number recursively first , then , and so forth. Thus lemmas 6.5 and 6.6 can easily be extended to the following, where :
Lemma 6.7 No vertex of thin slice can be numbered before all the vertices of thin slice are numbered.
Lemma 6.8 When LexBFS starts numbering thin slice , every unnumbered vertex has exactly the same label.
The following property can then be deduced from Lemma 6.7:
Property 6.9 ([13]) For any graph G (chordal or not), any LexBFS ordering α of G numbers the thin slices in increasing order.
We will now prove the separator inclusion:
Theorem 6.10 For any graph G (chordal or not) and any LexBFS ordering α of G, the minimal separators of G included in are totally ordered by inclusion.
Proof: Let be as above the connected components of (where is the moplex containing vertex ). We claim that . Suppose by contradiction that there are two components and , , such that , and let y be in . By Lemma 6.8, when LexBFS finishes numbering , all the unnumbered vertices have the same label; since y sees all the vertices of , y must also see all the unnumbered vertices of , else the labels of and of some vertex of would be different. Thus , a contradiction. □
Figure 9.
The thin slices defined by the LexBFS execution on a non-chordal graph from Figure 8.
Example 6.11 In Figure 8, the minimal separators included in are and , with .
The properties discussed in this section show that LexBFS, when run on a non-chordal graph, exhibits properties which other known algorithms of the MLS family exhibit only on chordal graphs. This may make LexBFS very interesting for specific applications.
7. The Orderings Defined by MLS and MLSM
As explained above, MLS computes a peo of any chordal graph, and MLSM computes a meo of any graph.
We can strengthen these properties to moplex orderings, introduced by [17].
We define a moplex to be simplicial if all its vertices are simplicial. We define a simplicial moplex elimination scheme in a chordal graph by repeatedly choosing a moplex of the current graph, which is simplicial since the graph is chordal, and removing it, until the graph is a clique.
If the graph is not chordal, we define the moplex elimination game in the same way as the simplicial elimination game: we simulate a moplex elimination scheme by repeatedly choosing a moplex of the current graph, adding every edge whose absence violates the simpliciality of this moplex, and removing it, until the graph is a clique.
Thus we obtain an ordered partition where is a moplex of the current graph at step i if and is the final clique. A moplex ordering is an ordering α on V that numbers (from 1 to n) the sets of such an ordered partition in increasing order, i.e. such that , , , . Then is exactly the graph obtained from G by adding all edges added in the moplex elimination game.
Any LexBFS ordering of a chordal graph, and any LEX M ordering of any graph, defines a moplex ordering [17]. We extend these results to MLS and MLSM:
Theorem 7.1
- (a)
- For any chordal graph H and any labeling structure , if the order on labels is total, then any -MLS ordering of H defines a moplex ordering.
- (b)
- For any graph G and any labeling structure , if the order on labels is total, then any -MLSM ordering of G defines a moplex ordering.
Proof: For any chordal graph G and any labeling structure , if the order on labels is total then any -MLS ordering of G is a moplex ordering of G: we have only to point out that by Theorem 5.1, any -MLS ordering α of a non-clique chordal graph G ends on a moplex X of G and that the restriction of α to the chordal subgraph is itself a -MLS ordering of this subgraph, and the proof follows by induction on .
For any graph G and any labeling structure , if the order on labels is total then any -MLSM ordering of G is a moplex ordering of G: let α be a -MLSM ordering of G. For any k from 1 to n, let denote the current graph of the simplicial elimination game just before processing , let be its set of vertices, i.e. , and be the restriction of α to . To prove that α is a moplex ordering of G, it is sufficient to prove that for any k from 1 to n such that is not a clique, ends on a moplex of . Consider any k, , such that is not a clique and let us show that ends on a moplex of .
By Property 3.2 α is a -MLS ordering of , so is a -MLS ordering of , which is equal to . As α is a meo of G, its restriction is a meo of , for otherwise there would exist another ordering on that produces some better fill-in than , and therefore an ordering β on V that produces some better fill-in than α, a contradiction. So, is a minimal triangulation of and therefore, as is not a clique, is not a clique either. It follows from Theorem 5.1 that ends on a moplex of , which is also a moplex of since any moplex of a minimal triangulation of a graph is a moplex of this graph [13]. □
8. The MLS-Terminal Vertex Problem on Chordal Graphs
To conclude our investigation of the extremities defined by the MLS family of algorithms, we will ask the following question:
“Given a graph G and a vertex x of G, is there an MLS execution which gives number 1 to vertex x ?”
We call this the MLS-Terminal Vertex Problem.
Lanlignel [20] showed that LexBFS-Terminal Vertex Problem is NP-complete even for weakly chordal graphs and Hereditary Dominating Path graphs, and left open its complexity on chordal graphs.
We give a simple characterization of MNS-terminal vertices in a chordal graph:
Characterization 8.1 For any chordal graph G and any vertex x of G, x is MNS-terminal if and only if x is simplicial and the substars of x are totally ordered by inclusion.
As a consequence, the MLS-Terminal Vertex Problem is polynomial for the class of chordal graphs.
The proof of Characterization 8.1 uses the following well-known property of chordal graphs:
Property 8.2 [21] (confluence vertex property) Let be a chordal graph, let C be a non-empty connected subset such that is a clique. Then such that .
Proof: (of Characterization 8.1) We will use Algorithm MNS for our proof. If x is MNS-terminal then x is simplicial since MNS computes a peo of G and by Theorem 4.1, the neighborhoods are totally ordered by inclusion.
Conversely, we suppose that x is simplicial and neighborhoods of connected components of are totally ordered by inclusion. Let be an ordering on the components of such that , , with . For any , let , let and let such that ( exists by Property 8.2 because as x is simplicial, is simplicial too). Let us show that there is a MNS execution on G numbering the sets in increasing order. We prove by induction on j that there is a MNS execution on G numbering successively , , ..., first. It obviously holds for . Now suppose that it holds for for some . After numbering , , ..., , for every unnumbered vertex t, is the set of numbered neighbors of t, so . So can be chosen at that step. It remains to show that at any step after numbering and some, but not all, vertices of , it is possible to choose the next vertex in . Let y be an unnumbered vertex in , μ be a -path whose internal vertices are in , let be the first unnumbered vertex of μ from and be the numbered vertex preceding on μ. Then . Let be an unnumbered vertex whose label is maximal among those of unnumbered vertices t such that . So the label of is maximal among those of all unnumbered vertices and (since ). Thus can be chosen at that step. Hence , , ..., can be numbered in increasing order. As the vertices of form a clique module (since x is simplicial) they can be numbered in an arbitrary order and x can be numbered last.
The MLS orderings of a graph are exactly its MNS orderings [12], so its MLS-terminal vertices are exactly its MNS-terminal vertices. □
9. Conclusions
We have shown that the MLS family of algorithms exhibits interesting extremal properties for MLS on a chordal graph, or, equivalently, for MLSM on an arbitrary graph: the substars of vertex 1 are totally ordered with respect to inclusion, an this vertex belongs to a moplex. These properties may prove useful for the design of new specific search algorithms.
When run on a non-chordal graph, the properties of MLS are weaker, except for Algorithm LexBFS, which stands out as having properties in many ways similar to the meo-computing algorithms such as LEX M, MCS-M, and more generally MLSM. In view of this, it might be interesting to investigate other search algorithms, such as LexDFS [11]. Another approach would be to experimentally determine whether the ordering α produced by an execution of LexBFS on a non-chordal graph defines a triangulation which is close to minimal.
MLS run on a non-chordal graph with a non-total order on labels does not always end on an OCF-vertex of the graph. It is an open question as to whether in that case a still weaker kind of extremity could be defined.
We also leave open the complexity of LexBFS-Terminal Vertex Problem on chordal graphs, as well as the complexity of MLS-Terminal Vertex Problem on arbitrary graphs.
Acknowledgments
The authors would like to sincerely thank the various anonymous referees for the time they spent checking our proofs, as well as for their many valuable suggestions.
References
- Dirac, G.A. On rigid circuit graphs. PAbh. Math. Sem. Univ. Hamburg 1961, 25, 71–76. [Google Scholar] [CrossRef]
- Lekkerkerker, C.; Boland, J. Representation of a finite graph by a set of intervals on real line. Fund. Math. 1962, 51, 45–64. [Google Scholar]
- Fulkerson, D.R.; Gross, O.A. Incidence matrixes and interval graphs. Pac. J. Math. 1965, 15, 835–855. [Google Scholar] [CrossRef]
- Rose, D.; Tarjan, R.E.; Lueker, G. Algorithmic aspects of vertex elimination on graphs. SIAM J. Comput. 1976, 5, 146–160. [Google Scholar] [CrossRef]
- Tarjan, R.E.; Yannakakis, M. Simple linear-time algorithms to test chordality of graphs, test acyclicity of hypergraphs, and selectively reduce acyclic hypergraphs. SIAM J. Comput. 1984, 13, 566–579. [Google Scholar] [CrossRef]
- Dahlhaus, E.; Hammer, P.L.; Maffray, F.; Olariu, S. On domination elimination orderings and domination graphs. In Proceedings of WG’94, Herrsching, Germany, June 1994; pp. 81–92.
- Corneil, D.G.; Olariu, S.; Stewart, L. Asteroidal triple free graphs. SIAM J. Discrete Math. 1997, 10, 399–430. [Google Scholar] [CrossRef]
- Corneil, D.G.; Olariu, S.; Stewart, L. Linear time algorithms for dominating pairs in asteroidal triple–free graphs. SIAM J. Comput. 1999, 28, 1284–1297. [Google Scholar] [CrossRef]
- Brandstdt, A.; Dragan, F.F.; Nicolai, F. LexBFS-orderings and powers of chordal graphs. Discrete Math. 1997, 171, 27–42. [Google Scholar] [CrossRef]
- Dragan, F.F.; Nicolai, F. LexBFS-orderings of distance-hereditary graphs with application to the diametral pair problem. Discrete Appl. Math. 2000, 98, 191–207. [Google Scholar] [CrossRef]
- Corneil, D.; Krueger, R. A unified view of graph searching. SIAM J. Disc. Math. 2008, 22, 1259–1276. [Google Scholar] [CrossRef]
- Berry, A.; Krueger, R.; Simonet, G. Maximal label search algorithms to compute perfect and minimal elimination orderings. SIAM J. Discrete Math. 2009, 23, 428–446. [Google Scholar] [CrossRef]
- Berry, A.; Bordat, J.P. Separability generalizes Dirac’s theorem. Discrete Appl. Math. 1998, 84, 43–53. [Google Scholar] [CrossRef]
- Blair, J.R.S.; Peyton, B.W. An introduction to chordal graphs and clique trees. In Graph Theory and Sparse Matrix Computations; George, J.A., Gilbert, J.R., Liu, W.H., Eds.; Springer Verlag: Berlin, Germany, 1993; Volume 56, pp. 1–30. [Google Scholar]
- Ohtsuki, T.; Cheung, L.K.; Fujisawa, T. Minimal triangulation of a graph and optimal pivoting ordering in a sparse matrix. J. Math. Anal. Appl. 1976, 54, 622–633. [Google Scholar] [CrossRef]
- Berry, A.; Blair, J.R.S.; Heggernes, P.; Peyton, B. Maximum Cardinality Search for computing minimal triangulations of graphs. Algorithmica 2004, 39, 287–298. [Google Scholar] [CrossRef]
- Berry, A.; Bordat, J.P. Moplex elimination orderings. In Proceedings of First Cologne-Twente Workshop on Graphs and Combinatorial Optimization, Cologne, Germany, June 2001; Volume 8.
- Berry, A.; Bordat, J.P.; Heggernes, P. Recognizing weakly chordal graphs by edge separability. Nordic J. Comput. 2000, 7, 164–177. [Google Scholar]
- Berry, A.; Bordat, J.P.; Heggernes, P.; Simonet, G.; Villanger, Y. A wide-range algorithm for minimal triangulation from an arbitrary ordering. J. Algorithm 2006, 58, 33–66. [Google Scholar] [CrossRef]
- Lanlignel, J.M. Autour de la décomposition en coupes. PhD Thesis, LIRMM, Montpellier, France, 2001. [Google Scholar]
- Rose, D. Triangulated graphs and the elimination process. J. Math. Anal. Appl. 1970, 32, 597–609. [Google Scholar] [CrossRef]
- Berry, A.; Blair, J.R.S.; Bordat, J.P.; Krueger, R.; Simonet, G. Extremities and orderings defined by generalized graph search algorithms. In Proceedings of 7th International Colloquium on Graph Theory: ICGT’05, Hyeres, France, September 2005; pp. 413–420.
© 2010 by the authors; licensee Molecular Diversity Preservation International, Basel, Switzerland. This article is an open-access article distributed under the terms and conditions of the Creative Commons Attribution license http://creativecommons.org/licenses/by/3.0/.




