• Aucun résultat trouvé

Vertex ordering with optimal number of adjacent predecessors

N/A
N/A
Protected

Academic year: 2021

Partager "Vertex ordering with optimal number of adjacent predecessors"

Copied!
20
0
0

Texte intégral

(1)

HAL Id: hal-02025298

https://hal.archives-ouvertes.fr/hal-02025298v3

Submitted on 18 Dec 2019

HAL is a multi-disciplinary open access archive for the deposit and dissemination of sci- entific research documents, whether they are pub- lished or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers.

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.

predecessors

Jérémy Omer, Tangi Migot

To cite this version:

Jérémy Omer, Tangi Migot. Vertex ordering with optimal number of adjacent predecessors. Discrete Mathematics and Theoretical Computer Science, DMTCS, 2020, 22, pp.1. �10.23638/DMTCS-22-1-1�.

�hal-02025298v3�

(2)

Vertex ordering with optimal number of adjacent predecessors

J´er´emy Omer1 Tangi Migot2

1 Univ Rennes, INSA Rennes, CNRS, IRMAR - UMR 6625, Rennes, France

2 Department of Mathematics and Statistics, University of Guelph, Guelph, Canada

received 25thFeb. 2019,revised 29thNov. 2019,accepted 2ndDec. 2019.

In this paper, we study the complexity of the selection of a graph discretization order with a stepwise linear cost function. Finding such vertex ordering has been proved to be an essential step to solve discretizable distance geometry problems (DDGPs). DDGPs constitute a class of graph realization problems where the vertices can be ordered in such a way that the search space of possible positions becomes discrete, usually represented by a binary tree. In particular, it is useful to find discretization orders that minimize an indicator of the size of the search tree. Our stepwise linear cost function generalizes this situation and allows to discriminate the vertices into three categories depending on the number of adjacent predecessors of each vertex in the order and on two parametersKandU. We provide a complete study ofNP-completeness for fixed values ofKandU. Our main result is that the problem isNP-complete in general for all values ofKandUsuch thatU K+ 1andU 2. A consequence of this result is that the minimization of vertices with exactlyKadjacent predecessors in a discretization order is alsoNP-complete.

Keywords:vertex ordering, distance geometry problem, discretization order, complexity analysis

1 Introduction

1.1 Preliminaries

We consider an undirected graphG:= (V, E), whereV := {1, . . . ,|V|}. Avertex orderingofGis a bijective numbering of the set of verticesσ:V → {1, . . . ,|V|}. Functionσdefines a total order overV: forv V,σ(v)provides the position ofvin the vertex ordering andσ−1(i)is the vertex with positioni inσ. For a given graph, the set of vertex orderings isΠand it holds that|Π|=|V|!.

A vertexv V is called aneighborof u V if and only if{u, v} ∈ E and we denoteδ(v)the neighbors ofv, whiled(v) := |δ(v)|is the degree ofv. The set ofpredecessorsofv V, denoted as Pv(σ), includes every vertexuV such thatσ(u)< σ(v). A vertexuV is then called areferenceof v V if and only if{u, v} ∈E andσ(u)< σ(v). The set of references ofvis denoted asRv(σ). In other words, a reference is an adjacent predecessor and it holds thatRv(σ) =Pv(σ)δ(v).

The vertex ordering problem is the problem of finding a permutation of the vertices minimizing some objective function. The difference from one ordering problem to another relies on the nature of the ob- jective function and additional constraints depending on the desired applications. One of the particular applications motivating this paper is the discretization of the distance geometry problem (DGP).

ISSN 1365–8050 c 2019 by the author(s) Distributed under a Creative Commons Attribution 4.0 International License

(3)

1.2 The discretizable distance geometry problem

An instance of the DGP is described by a weighted graph(V, E, d)whered : E 7→ R+ is adistance function, and a dimensionK Z+. The problem consists in finding an embeddingx: V 7→RK such thatkx(u)x(v)k2 = d(u, v),∀{u, v} ∈ E. The DGP naturally appears for instance when searching for the 3D-conformation of a molecule when all we know is a sparse set of pairwise distances between its atoms (Hendrickson (1995)). The DGP is NP-hard in general (see Saxe (1979)), and it has received a vivid attention recently (see, e.g., Liberti et al. (2008); Lavor et al. (2012b); Liberti et al. (2014a); Omer and Gonc¸alves (2017), or Liberti and Lavor (2017) for a recent introduction).

Cassioli et al. (2015) show that the DGP can be solved by enumeration if we can find adiscretization orderof the graph, which they formally define as follows.

Definition 1. Let G = (V, E) be a simple undirected graph andK Z+ such that K ≤ |V|. A discretization order ofGis a vertex orderingσ, such that:

1. the subgraph induced by−1(1), . . . , σ−1(K)}is complete, and 2. for allvV such thatσ(v)> K,|Rv(σ)| ≥K.

The problem of finding a discretization order of a graphGis calledDiscretization vertex order prob- lem(i)(DVOP) in the literature (see Lavor et al. (2012a)). When there exists a discretization order ofG, the set of solutions is discrete (and finite) and can be enumerated efficiently using a branch-and-prune (BP) algorithm (Liberti et al. (2008); Lavor et al. (2012b)). In this case, the levelkof the BP tree is associated with the vertexv V such thatσ(v) = k: the nodes of levelkenumerate the potential positions ofv inRK. It has been shown that under reasonable assumptions ond, a vertex withK references whose positions inRK are already known can be located in at most two different positions, whereas a vertex withK+ 1or more references has at most one possible position inRK.

The difficulty is that the potential realizations of the vertices are not computed during the search for a discretization order. For a given discretization, Liberti et al. (2014b) have shown that an analysis of symmetry can yield an estimation of the number of feasible nodes at a level of the BP tree, but branches might also be pruned once potential realizations are computed. As a consequence, the exact knowledge of the number of nodes in the BP tree cannot, in general, be deduced from a discretization order without numerous computations.

As a compromise, Omer and Gonc¸alves (2017) define a simple indicator of the size of the BP tree for a given discretization orderσ. For this, they define adouble vertexas a vertex that has exactlyKreferences inσ(because the vertex may be assigned to two different positions). In contrast, a vertex with more than Kreferences is asingle vertex. Since double vertices are responsible for the growth of the BP tree, the first approach is to minimize their number. The decision problem associated with the minimization of double vertices has been calledMinimum double order problem(MDOP) by Omer and Gonc¸alves (2017).

It is defined formally as follows.

(i)The problem is also sometimes calledTrilateration ordering problem(TOP), see e.g. Cassioli et al. (2015).

(4)

MINIMUM DOUBLE ORDER PROBLEM (MDOP) Input:A simple undirected graphG= (V, E), two integersK≤ |V|andN.

Question: Is there a discretization order ofV such that the number of double vertices is smaller or equal toN ?

1.3 Contributions and Outline

All in all, finding a discretization order,σ, that minimizes the number of double vertices is an ordering problem over a simple undirected graph, which discriminates in some sense three classes of vertices

1. indispensable vertices: the initial clique,−1(1), . . . , σ−1(K)}, 2. desirable vertices: single vertices,{v:|Rv(σ)| ≥K+ 1}, and 3. undesirable vertices: double vertices,{v:|Rv(σ)|=K}.

This problem has already been treated numerically by Omer and Gonc¸alves (2017), where the authors developed cutting plane algorithms to solve an integer programming formulation of the problem. In particular, they observed that although several different methods have been tested, none could find optimal solutions of instances with more than 100 vertices in less than one hour. Despite these experiments, they did not establish any result about the theoretical complexity ofMDOP.

Lavor et al. (2012a) argue thatDVOPis triviallyNP-complete because the firstKvertices in the dis- cretization order must form a clique. SinceDVOPis a particular case ofMDOP, it is straightforward that the latter isNP-complete in general. The limit of this result is thatKis not a parameter that is expected to take large values in DGP. Since it stands for the dimension of a molecule conformation, it will in general be equal to 2 or 3. As a consequence, we should be more interested in complexity results where the value ofKis fixed. ForKfixed, Lavor et al. (2012a) show thatDVOPis inPby exhibiting a greedy algorithm that solves the problem in polynomial time. In contrast, close variants ofDVOPareNP-complete even forKfixed. For instance, Cassioli et al. (2015) study the variant ofDVOPwhere every vertex with order

K+ 1is adjacent to itsKcontiguous predecessors. They named this variantContiguous trilateration order problem, and showed that it isNP-complete for any positive fixed value ofK.

The main contribution of this article is in the study of the complexity ofMDOPfor any positive and fixed value ofK. For this, we consider a generalization ofMDOPthat emphasizes the specificity of the problem. We extend the problem by introducing one new parameterU Kthat will allow for a hierarchy in the undesirable vertices. The set of feasible orders remains the same, but the objective function will not only penalize the vertices with exactlyKreferences but also those withK+ 1toU 1references wheneverU K+ 2. More precisely, letσbe a feasible order, i.e.,−1(1), . . . , σ−1(K)}forms a clique and|Rv(σ)| ≥Kfor allvsuch thatσ(v)K+ 1, and for allvV, let

fσ(v) := max{0, U− |Rv(σ)|} (1)

be the number of references ofvbelowU. We then wish to minimize the objective FK,U(σ) := X

σ(v)≥K

fσ(v), (2)

(5)

which is a stepwise-linear function of the numbers of references inσ. Observe that forU =K+ 1, we fall back toMDOP. We name the associated decision problemStepwise linear minimum vertex ordering (SLVO). In the rest of the article, the parametersKandU are respectively calledminimumandcritical numbers of references. The restriction of SLVOwhere the parameters are fixed to valuesK andU is denoted as SLVO(K,U). For simplicity, we will use the same notations for the optimization problems associated withMDOP,SLVOandSLVO(K,U) as long as it is not ambiguous.

STEPWISE LINEAR MINIMUM VERTEX ORDERING (SLVO)

Input:A simple undirected graphG= (V, E), three integersK≤ |V|,KU ≤ |V|andN.

Question:Is there a discretization order ofG,σ, such thatFK,U(σ)N?

In our view,SLVOemphasizes better that the difficulty of the problem lies in the breakpoints defined byU in the objective function. It also offers some perspectives of new applications. For instance, a web social network that wishes to create some new community or service will be interested in the optimization of their advertisement campaign. Given that people are more likely to join a community already joined by several friends of them, the order in which emails or notifications are sent is of importance. In this context, the initial clique may stand for influential personalities who support the community, and the minimum number of references represents a threshold under which the community would lose credit. The cost for not reaching the critical number of references can be associated with incentives such as special offers for users who need to be convinced. Although this application is still fictional, our opinion is that the framework is wide enough to welcome others.

The rest of the paper is organized as follows. The main contributions of this paper are the complexity results presented in Section 2 and Section 3. In particular, our main result is that, even with fixedKand U,SLVOisNP-complete wheneverU max{K+ 1,2}. On the other hand, the problem is polynomial ifK =U orU 1. We conclude the article with a discussion about perspectives in the development of solution algorithms and the study of approximation algorithms in Section 4.

2 Polynomial versions of SLVO(K,U)

Some specific instances ofSLVO(K,U) can be solved in polynomial time. As already mentioned,DVOPis inPwhenKis fixed. The extension of this result toSLVOis in the study of the problem with fixedKand U such thatU =K(i.e.,SLVO(K,K)). In this case, the objective functionFK,U(σ)is vanishing for any vertex orderingσ, soSLVO(K,K) is tantamount to finding a discretization order. As shown by Lavor et al.

(2012a), this can be done in polynomial time using Algorithm 1, whose execution time is inO(|V|K× (|E| |V|2)). IfU =Kstep 11 of the algorithm is not useful. Actually, the algorithm can stop as soon as a discretization order is found.

Theorem 1. SLVO(K,K)is inPfor allKZ+.

This result is of particular importance for the discretizable DGP, since it states that once the initial clique is given, it can be known in polynomial time whether the problem has a solution or not. The greedy algorithm suggested by Lavor et al. (2012a) has also been used in practice by Omer and Gonc¸alves (2017).

(6)

1 forallK-cliques,C, ofGdo

2 Set the rank of the vertices ofCto1, . . . , K;

3 O:=C, k:=K;

4 whilea vertex has not been ordereddo

5 Letibe a vertex ofV \Owith maximum number of adjacent vertices inO;

6 ifihas less thanKadjacent vertices inOthen

7 treat the next clique;

8 Assign rankk+ 1toi;

9 O:=O∪ {i};

10 k:=k+ 1;

11 Update the best discretization order found so far.;

12 If|O|<|V|for all initial cliques, then no discretization order exists. Otherwise, return the best discretization order found so far.

Algorithm 1:Greedy Algorithm.

Its use as an approximation algorithm is discussed in Section 4.

Theorem 2. SLVO(0,1)is inP.

Proof: SettingK = 0andU = 1yields any permutation of the vertices,σ, is a discretization order, while fσ(v) = 1 if and only if vertexv has no reference inσ. For any k 1, if a vertex is not in the same connected component as{σ(1), . . . , σ(k)}, then it does not have any reference among them.

Consequently, the minimum cost of a discretization order is at least equal to the number of connected components inG. Reciprocally, one can readily build a vertex with total cost exactly equal to the number of connected components by ordering those components one after the other. Hence, minimizing the objective function is equivalent to counting the number of connected components ofG, which can be achieved in polynomial time.

3 NP-complete cases

The following results state that it is sufficient to search for the smallest values ofK andU such that

SLVO(K,U) isNP-complete. The proof is divided into two lemmata respectively for increasingKandU. Lemma 1. LetK, U Z+such thatU K+ 1. If SLVO(K,U)isNP-complete, thenSLVO(K+P,U+P) is alsoNP-complete for allPZ+.

Proof:LetK, U Z+, U K+ 1, and let the graphG= (V, E)and the positive integerNconstitute an arbitrary instance of SLVO(K,U). ForP Z+, we build an instance of SLVO(K+P,U+P) defined by GP = (V VP, EEP)andN, where:

the subgraph ofGP induced byVP is aP-clique;

there is one edge between each vertex ofV and each vertex ofVP.

(7)

More formally,

VP ={|V|+ 1, . . . ,|V|+P}, andEP ={{u, v}:u, vVP, u6=v} ∪ {{u, v}:uV, vVP}.

Assume thatGadmits a discretization order,σ. Then we can build a vertex order,σP, ofGP, by posi- tioning the vertices ofVP first followed by those ofV in the order given byσ, i.e.

σP(VP) ={1, . . . , P}, andσP(v) =σ(v) +P,∀vV.

One can verify that the subgraph ofGPinduced by−1P (1), . . . , σ−1(K+P)}is a clique, becauseσis discretization order, and that

|RvP)|=|Rv(σ)|+P,∀vV, which means thatFK,U(σ) =FK+P,U+PP).

Reciprocally, for any vertex orderσP ofGP, we can build a vertex order,σ, of Gby removing the elements ofVP fromσP. The number of references of each vertex ofV in this new order is at most reduced byP. It follows that ifσPis a discretization order, thenσis a discretization order ofGsuch that fσ(v)fσP(v),∀vV.

Finally, the above shows that(G, N)is a YES instance ofSLVO(K,U) if and only if(GP, N)is a YES instance ofSLVO(K+P,U+P), which concludes the proof.

The above result does not specify the impact of an arbitrary increase in the value ofU (in particular, one that is larger than the increase in the value ofK). A closer look at the proof of Lemma 1 indicates that its last part would not generalize in this case. To illustrate this, considerSLVO(K,U) andSLVO(K,U+P) (instead ofSLVO(K+P,U+P)) and the two instances(G, N)and(GP, N)considered in the above proof.

The difficulty is that a discretization order inGP,σP, would not necessarily yield a discretization order, σ, inGby simply removing the vertices that are not inG. Indeed, this operation decreases by up toPthe number of references, which does not need to be greater thanKinσP. Hence some vertices may have less thanKreferences inσ.

Nevertheless, ifK = 0, every argument used in the proof of Lemma 1 remains valid if we wish to reduceSLVO(0,U+P) fromSLVO(0,U). This justifies the following result.

Lemma 2. LetU Z+. If SLVO(0,U)isNP-complete, thenSLVO(0,U+P)is alsoNP-complete for all P Z+.

In the previous section, we have proved thatSLVO(K,U) is inPforK = U and forK = 0, U = 1.

We are thus left with the question of the complexity ofSLVO(0,2) andSLVO(1,2). Indeed, if those two problems areNP-complete, Lemmata 1 and 2 show thatSLVO(K,U) isNP-complete for allK, U Z+ such thatU 2andUK+ 1. We start with the study ofSLVO(1,2).

Theorem 3. SLVO(1,2)isNP-complete.

We will show the theorem by polynomial reduction from 3-SAT, which is one of the 21NP-complete problems of Karp (1972). We consider an instance, (c, x)of 3-SATdefined by the set of clauses c = {c1, . . . , cm}defined over boolean variablesx = {x1, . . . , xn, xn+1, . . . , x2n}, wherexn+i stands for the negation ofxifor alli ∈ {1, . . . , n}. Forj = 1, . . . , m, we denote,j1,j2andj3the indices of the three terms of clausecj, i.e.,cj =xj1 xj2 xj3. Fori(1, . . . , n), we also denote asC(i)the set of clauses that involvexiorxi+n.

(8)

Y1,1 Y1,2 Y1,3 Y2,1 Y2,2 Y2,3 Y3,1 Y3,2 Y3,3

Xi

Xi0 Xi+n Xi+n0

B0i Bi1

B2,1i Bi2,2

C3

C1 C2

Fig. 1: Part of the graph corresponding toxiandxi+nfori ∈ {1, . . . , n}. The dotted lines stand for edges that connect a vertex toO. In this case,C(i) ={c1, c2, c3},xiis in first position inc1and in second position inc2, and the negation ofxiappears in third position inc3.

Remark 1. We assume without loss of generality that there is no clause with a variable and its opposite and that all the variables appear in at least one clause.

We then proceed as follows to transform(c, x)into an instance(G, n)ofSLVO(1,2). The set of vertices ofG = (V, E)is the union of six different setsV =X X0 CY ∪ {O} ∪B, whereX andX0 correspond to the variables, C andY correspond to the clauses and their terms, and {O} and B are artificial vertices required for the validity of the reduction. An illustration of the part ofGrelated to some variablexi, i∈ {1, . . . , n}is given in Figure 1. The exact rules that lead to the construction ofGare as follows.

XX0: for each variablexi, i= 1, . . . ,2n, one pair of vertices(Xi, Xi0)X×X0, connected with one edge.

CY: for each clausecjone vertexCj Cand three verticesYj,1, Yj,2, Yj,3Y that stand for the three terms of the clause: three edges connectYj,1,Yj,2, andYj,3toCj, and two edges connectYj,k

toXjkandXj0

kfork= 1, . . . ,3.

B: for alli∈ {1, . . . , n}, one gadget{Bi0} ∪Bi, such thatBiinduces a binary tree rooted atBi1and whose leaves are connected to at most two vertices ofC(i)each such that two leaves do not connect to a same clause. VertexBi0is connected only toBi1,XiandXi+n.

• {O}: one vertex, which will be used as the initial clique. VertexOis connected to every vertex ofX, X0 andC. For alli ∈ {1, . . . , n},O is also connected toBi1and to the vertices of theBithat are connected to exactly one vertex ofC(i).

(9)

Observe that the number of vertices in gadgetBi is at most twice larger than the number of clauses in C(i)because it is a binary tree whose number of leaves is less than the number of clauses inC(i). It is then straightforward to verify that the transformation from(c, x)to(G, n)is polynomial.

In the proofs and discussions below, it is more convenient to focus once and for all on discretization orders ofGstarted withO. We thus extendGwith another gadget connected only toO. The gadget is composed ofn+ 1levels includingn+ 1vertices each,Op,q,1pn+ 1,1qn+ 1, and one last level containing two verticesOn+2,1andOn+2,2. The first level is totally connected toOand the last one is totally connected toOn+2,1andOn+2,2. The other levels are connected only to those directly above and below so that each vertex has two neighbors above and two neighbors below. The gadget is illustrated in Figure 2. The graph obtained as the union ofGand this gadget is denoted asGO.

O

O1,2 O1,3 O1,n O1,n+1

O1,1

O2,2 O2,3 O2,n O2,n+1

O2,1

On+1,2 On+1,3 On+1,n On+1,n+1

On+1,1

On+2,1 On+2,2

Fig. 2:Illustration of the gadget rooted atO.

Proposition 1. There is a discretization order of GO with cost at mostn+ 1 if and only if there is a discretization order ofGwith cost at mostnstarting withO.

Proof:Letσbe a discretization order ofGsuch thatσ(1) =OandF1,2(σ)n. We build a discretization order,σO, ofGOby settingσO(On+2,1) = 1,σO(On+2,2) = 2and by inserting the levels one by one in the order fromn+ 1to1. We then set all the vertices ofGinσOin the same order as that given byσ. In σO:On+2,2is the only vertex of the gadget with a non-vanishing cost;Ohas more than two references; the other vertices ofGkeep as many references as inσ. As a consequence,F1,2 σO

=F1,2(σ)+1n+1.

Reciprocally, letσObe a discretization order ofGOsuch thatF1,2 σO

n+ 1. A recurrence on the levels of the gadget shows that ifO)−1(1)does not belong to the gadget rooted atO, then the constraints on the number of references ofσO(On+2,1)andσO(On+2,2)can only be satisfied if at leastn+ 1vertices of the gadget have exactly one reference. Since the second vertex ofσO also has a non-vanishing cost,

(10)

this is in contradiction withF1,2 σO

n+ 1. We deduce thatO)−1(1)belongs to the gadget, hence we can simply remove the gadget fromσOto get a discretization order ofGwith cost at mostn.

Since we will only be interested in discretization orders ofGOwith costn+ 1, this result indicates that we can simply drop the gadget rooted atOand consider discretization orders ofGwith costnand whose first vertex isO. In the remainder, we thus focus onGand setσ(O) = 1for every discretization orderσ ofG. This allows to push the analysis of discretization orders ofGfurther.

1. Letσbe a discretization order ofGthat starts withO(i.e.,σ(O) = 1). Fori= 1, . . . ,2n,XiandXi0 are neighbors and they are both adjacent toO. Sinceσ(O) = 1,XiandXi0have at least one reference, and the one with higher position inσhas at least two references. Since there is no possible benefit in having more than two references, this means thatXiandXi0can always take contiguous positions at a minimum cost discretization order. The relative position of the two vertices will not make any difference in the number of references of their neighbors, but it might impact their costs. Indeed, the second amongXiandXi0in the order will always have a zero cost, because it has two references, but the first one may have onlyOas reference. Notice now that every neighbor ofXi0is also adjacent to Xi, butXihas one extra neighbor,Bi0. This means thatXican only have more references thanXi0 (other than one another). We get that it can only be beneficial to set Xi first among the two in the order, i.e.,σ(Xi0) =σ(Xi) + 1.

2. Now, considering any vertex order whereσ(O) = 1andσ(Xi0) =σ(Xi) + 1, we can propagate the deductions to any vertexYj,ksuch thatjk =i. This vertex is adjacent toXiandXi0, so their contiguity involves that either they are both references ofYj,korYj,kis a reference of both. Given thatYj,khas only three neighbors (Cjis the third), the latter would involve thatfσ(Yj,k)1. Even ifXi has no other reference thanO andYj,k, it would still not increase the total cost ifYj,kwas set afterXiand Xi0instead. Indeed, the cost ofXiwould increase to 1 but that ofYj,kwould decrease to 0.

The preliminary analysis shows that we can focus the search for a solution of(G, n)to the discretization ordersσsuch thatσ(O) = 1,σ(Xi0) =σ(Xi) + 1,∀i,andσ(Yj,k)> σ(Xi0) =σ(Xi) + 1for alli, j, k such thatjk=i. Given thatXihas no other neighbor thanO,Xi0,{Yj,k}jk=iandB0i, it will have a zero cost inσif and only ifσ(B0i)< σ(Xi).

Lemma 3. Letσbe a discretization order ofGsuch thatσ(1) =OandF1,2(σ) =n. Then, there exists a discretization order ofG,¯σ, such thatσ(1) =¯ Oand

1. F1,2σ) =n;

2. σ(X¯ i0) = ¯σ(Xi) + 1for alli∈ {1, . . . ,2n};

3. σ(Y¯ j,k)>σ(X¯ i)for alli, j, ksuch thatjk=i;

4. for alli∈ {1, . . . , n},fσ¯(Xi) = 1orfσ¯(Xi+n) = 1.

Proof:From the discussion preceding the lemma, we have seen that ifσis a discretization order ofGsuch thatσ(1) =O andF1,2(σ) =n, there is another discretization order,σ, with cost¯ F1,2σ) F1,2(σ) such thatσ(O) = 1¯ and

σ(X¯ i0) = ¯σ(Xi) + 1,∀i= 1, . . . ,2n;

(11)

σ(Y¯ j,k)>σ(X¯ i)for alli, j, ksuch thatjk =i.

Now, assume that there is somei ∈ {1, . . . , n} such that Xi andXi+n both have two references.

Given that Xi has no other neighbor than O, Xi0, {Yj,k}jk=i andB0i, the properties of σ¯ imply that

¯

σ(Bi0)<σ(X¯ i). The same argument applied toXi+nyieldsσ(B¯ 0i)<σ(X¯ i+n). It follows thatBi0can have only one reference inσ¯ (i.e.,Bi1). All in all, we get that for alli ∈ {1, . . . , n},f¯σ(Xi) = 1or fσ¯(Xi+n) = 1orfσ¯ B0i

= 1. Observing thatF1,2σ) =n, we can even further state that

fσ¯(Xi) +fσ¯(Xi+n) +fσ¯ Bi0

= 1,∀i∈ {1, . . . , n}, and that every other vertex has at least two references.

Assume thatfσ¯ Bi0

= 1: we just discussed that in this caseσ(B¯ 0i)<σ(X¯ i)andσ(B¯ i0)<σ(X¯ i+n).

We can prove by induction on the binary treeBithat we necessarily have¯σ(Bi0)>¯σ(Cj), ∀Cj C(i).

Combined with the property thatσ(Y¯ j,k) >σ(X¯ i)for alli, j, ksuch thatjk =i, we get that¯σ(Cj)<

¯

σ(Yj,k)for allCj C(i)andk= 1,2,3. This leads toCjhaving onlyOas a reference, a contradiction.

As a consequence, we know that for alli∈ {1, . . . , n}eitherfσ¯(Xi) = 1orfσ¯(Xi+1n) = 1.

Proof of Theorem 3:We consider an instance(c, x)of 3-SATand the corresponding instance(G, n)of

SLVO(1,2), as described above. We prove the theorem by showing that(c, x)is satisfiable if and only if there is a discretization order ofG,σ, such thatσ(O) = 1andF1,2σ) =n.

Assume first that(c, x)is satisfiable and letx¯be a feasible solution. From this solution, we construct a vertex order ofG,σ, whereσ(O) = 1and fori∈ {1, . . . , n},σ(Xi) = 2i, σ(Xi0) = 2i+1ifx¯i=TRUE, andσ(Xi+n) = 2i, σ(Xi+n0 ) = 2i+ 1ifx¯i =FALSE. We then insert inσthe vertices ofY that cor- respond to the variables ofxset to TRUE inx. Every vertex of¯ Cis then inserted in the vertex order, followed by all those ofB. One can verify that up to this stage, the only ordered vertices with exactly one reference are those ofX, whose common reference isO. Indeed, the ordered vertices ofX0also haveO as reference and another inX, and the ordered vertices ofY have one reference inX and another one inX0. Moreover, every vertex ofC hasO as reference and at least one reference inY, becausex¯is a feasible solution of(c, x). Finally, one can verify that the vertices ofB can be ordered to have exactly two references as long as they come after the vertices ofCin the order.

The following vertices inσare the vertices ofX that do not appear at the beginning of the order, i.e., Xi ifx¯i =FALSE, orXi+nifx¯i =TRUE. At this stage, each one of these variables hasOandBi0as references. The remaining vertices ofX0andY can then be inserted last inσwithout an increase in the objective value. As a consequence, the objective value ofσis exactlyn.

Assume then that(G, n)is a YES instance ofSLVO(1,2), such that there is a discretization order ofG, σ, that satisfiesF1,2(σ) =n, andσ(O) = 1. Lemma 3 states that there is another discretization,σ, such¯ thatσ(1) =¯ Oand

F1,2σ) =n;

σ(X¯ i0) = ¯σ(Xi) + 1for alli∈ {1, . . . ,2n};

σ(Y¯ j,k)>σ(X¯ i)for alli, j, ksuch thatjk =i;

Références

Documents relatifs

An adjacent vertex-distinguishing k-edge coloring, or k-avd-coloring for short, of a graph G is a proper edge coloring of G using at most k colors such that, for every pair of

In addition, our MD simulation results revealed that the rough surface of an amorphous substrate eliminates completely in-plane ordering in the liquid regardless of surface

Unit´e de recherche INRIA Rennes, Irisa, Campus universitaire de Beaulieu, 35042 RENNES Cedex Unit´e de recherche INRIA Rhˆone-Alpes, 655, avenue de l’Europe, 38330 MONTBONNOT ST

local and regional community groups, identify research support opportunities, and increase community awareness and use of MUN. Library collections and research support

tation of P and Q and prove that P and Q are equivalent polyhedra. Obviously, this correspondence between the faces of P and Q preserves the inclusion and

Fleischner and Stiebitz [3] proved that in every ( Cycle and triangles' graph there is an odd number of Eulerian orientations. They used this result and the 'Graph polynomial

analyzed a dynamic version of IS, the Interpolation Search Tree (IST) with O(log log n) expected search/update time for the (f 1 , f 2 )-smooth continuous distributions of real

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des