• Aucun résultat trouvé

Majority Merging: from Boolean Spaces to Affine Spaces Jean-Franc¸ois Condotta

N/A
N/A
Protected

Academic year: 2022

Partager "Majority Merging: from Boolean Spaces to Affine Spaces Jean-Franc¸ois Condotta"

Copied!
6
0
0

Texte intégral

(1)

Majority Merging: from Boolean Spaces to Affine Spaces

Jean-Franc¸ois Condotta

1

and Souhila Kaci

2 3

and Pierre Marquis

4

and Nicolas Schwind

5

Abstract. This paper is centered on the problem of merging (possi- bly conflicting) information coming from different sources. Though this problem has attracted much attention in propositional settings, propositional languages remain typically not expressive enough for a number of applications, especially when spatial information must be dealt with. In order to fill the gap, we consider a (limited) first- order logical setting, expressive enough for representing and rea- soning about information modeled as half-spaces from metric affine spaces. In this setting, we define a family of distance-based majority merging operators which includes the propositional majority opera- tor∆dH,P. We identify a subclass of interpretations of our repre- sentation language for which the result of the merging process can be computed and expressed as a formula.

1 INTRODUCTION

The problem of merging information coming from different sources arises in many applications, e.g. distributed knowledge systems. Due to the multiplicity of the sources providing information, combining them may lead to conflicts. However, one would need to get from a set of (possibly conflicting) belief/goal bases a single consistent belief/goal base representing a global view of the input set, taking into account every source as much as possible.

In the particular framework of propositional logic (PL), merging multiple belief/goal bases has been the point of interest of many works the last two decades [10, 11, 3, 7, 9, 8], a prominent reason being that many problems can be conveniently expressed using PL [4]. However, as PL only deals with true/false statements as units we often need a more expressive language to express information, in particular when the considered variables represent spatial entities, or when they range over an infinite, unbounded, or continuous domain.

For instance, consider the following goal merging problem about a family wanting to purchase a new house. Suppose that the members of family compare accommodations on the basis of their type (flat or house), price and location. As one would expect, there is generally no type, price and location completely satisfying every person, though they need to find a compromise. PL is not sufficient to represent the available information, since two features in question (price and loca- tion) range over continuous domains, the price in a one-dimensional domain and the location in a two-dimensional domain. Yet each one of these domains is naturally associated with a propermetric, ordis- tance. If half of the group would like to pay more than a certain price

1Universit´e Lille-Nord de France, CRIL, CNRS UMR 8188, IUT de Lens F-62307, France, email: [email protected]

2Universit´e Lille-Nord de France, CRIL, CNRS UMR 8188, IUT de Lens F-62307, France, email: [email protected]

3CLLE-LTC, CNRS UMR 5263, 5 All´ees Machado, 31058 Toulouse Cedex 9, France

4Universit´e Lille-Nord de France, Artois, CRIL, CNRS UMR 8188, Facult´e Jean Perrin, F-62307 Lens, France, email: [email protected]

5Universit´e Lille-Nord de France, Artois, CRIL, CNRS UMR 8188, Facult´e Jean Perrin, F-62307 Lens, France, email: [email protected]

Pwhile the other half would prefer a cheap house less than a price pwithp < P, then it is natural to search for a house which price would range betweenpandP.

In this paper, we deal with the representation of such kind of in- formation for which PL is not adequate. We define a class of merging operators that return a consistent set of information from a set of pos- sibly conflicting sources. We consider quite a general setting, allow- ing each variable considered in the merging process to take its value out of a proper domain defined as unions and intersections of half- spaces from finite-dimensional metric affine spaces. The essence of our merging method then exploits the metrics associated to these do- mains. For this purpose, we take our inspiration from distance-based merging operators proposed in the PL framework [10, 8]. We pro- pose a similar procedure for merging belief/goal bases expressed in a more general setting, which can be viewed as a fragment of First- Order Logic (FOL), monadic, typed, without symbol of quantifica- tion or function; furthermore we consider a particular class of inter- pretations. Since a common and natural choice to deal with conflicts among a group is to let the majority decide [10], we focus in this pa- per on the class ofmajority merging operators, which aims at com- puting a consistent result minimizing the global dissatisfaction of the input sources. The solid theoretical background on propositional ma- jority merging operators [10, 8] and their aptitude to satisfy a signif- icant set of rationality postulates motivates our choice. In particular we show that the class of merging operators we define includes the propositional majority merging operator∆dH,P. We identify a sub- class of interpretations for which the result of the merging can be computed and expressed as a formula.

The rest of the paper is organized as follows: in the next section we provide some necessary mathematical background and we define the syntax and the semantics of our representation language. In Section 3 we define a class of merging operators. In Section 4 we point out how to compute the result of the merging under some restrictions. We conclude and present some perspectives for further work in Section 5.

The results obtained are illustrated through the motivating example sketched above.

2 PRELIMINARIES

2.1 Background on linear spaces

For a given positive integern,Rndenotes the n-dimensional real affine space. Ahyperplane of Rn is a (n1)-dimensional affine subspace of Rn. For instance, a line (resp. a plane) is a hyper- plane of R2 (resp. of R3). Formally, a hyperplane h of Rn is characterized by a vector(h0, . . . , hn)ofRn+1and is defined by the set{(x1, . . . , xn) Rn |h1x1 +. . .+hnxn = h0}. Let k ∈ {1, . . . , n}. A hyperplanehofRn is said to berectilinearif it is parallel ton−1axes ofRn, formallyhis defined by the set {(x1, . . . , xn) Rn|xk =h0}for somek ∈ {1, . . . , n}. A hy- perplanehof Rnis associated to two closed half-spacesh and

(2)

h, namely two subsets ofRndefined ash = {(x1, . . . , xn) Rn | h1x1 +. . .+hnxn h0} and h = {(x1, . . . , xn) Rn|h1x1 +. . .+hnxn h0}. Thus a closed half-space asso- ciated to a hyperplanehofRnis one of the two parts into whichh dividesRn. Anopen half-spaceofRnis the complement of a closed half-space inRn. A half-space isrectilinearif it is associated to a rectilinear hyperplane. Aconvex polyhedronofRnis the finite in- tersection of closed or open half-spaces ofRn. A rectilinear convex polyhedron ofRn, also called acuboidofRn, is the finite intersec- tion of closed or open rectilinear half-spaces ofRn.

AnormN onRnis a mapping fromRntoRsatisfying the fol- lowing properties, for everye1, e2Rn, for everyλ∈R:

8<

:

N(e1) = 0iffe1is the zero vector (positive definiteness), N(λ·e1) =|λ|.N(e1)(homogeneity),

N(e1+e2)≤N(e1) +N(e2)(subadditivity)

Given a normNonRn, ametric(or distance)donRnis typically derived fromN, namely,dis a mapping fromRn×RntoRdefined for everye1, e2Rnasd(e1, e2) =N(e1+ (−e2)). LetE⊆Rn, S⊆Eanddbe the metric induced by a norm onRn.Sis called an open setofEiff∀e S,∃r > 0such that{e0 E|d(e, e0) <

r} ⊂S.Sis aclosed setif its complement inEis an open set. The closureofS, denoted◦S, is the smallest closed set containingS.S isboundedif∃λ >0such that∀c1, c2∈S,d(c1, c2)≤λ.

2.2 Syntax and semantics of L

Given the above preliminaries, we now define the syntax and seman- tics of our representation languageL. The alphabet ofLconsists of a finite set of variablesV={x1, x2, . . .}, a finite set of unary pred- icate symbolsP, notedX, Y, . . ., orXji,iandjbeing two positive integers, the usual logical connectives¬(not),(and),(or), the usual constant symbols>(true) and(false) and the punctuation symbols0(0and0)0.

LetT ={t1, t2, . . .}be a finite set oftypes. We assume that we are given a mappingτ fromV ∪ P toT, namely every symbol of variable or predicate has a type. Anatomis of the form(xi X), withxi∈ V,X ∈ Pandτ(xi) =τ(X). Aliteralis an atom or its negation. The language Lis inductively defined as follows: every atom is a formula,>,⊥are formulas and given two formulasαand β,(¬α),(α∧β),∨β)are also formulas.

We consider a particular classHof interpretations forL. An in- terpretationIfromHis defined as a pairhDI,MIi, where:

• DI is a mapping which associates to every typetj ofT a tuple (nj, Hj, Dj, dj), where:

- njis a positive integer,

- Hjis a finite non-empty set of hyperplanes ofRnj,

- Dj Rnj results from some finite unions, intersections and complements of closed half-spaces associated to hyperplanes ofHj,

- djis a metric onDjinduced by a norm onRnj.

• MI is mapping which associates to every predicate symbol X ∈ P of type tj a closed half-space MI(X) associated to a hyperplane of Hj, i.e., MI(X) = h or MI(X) = h with h Hj. We require that for every Dj, there exists X1, . . . , Xn ∈ P such thatDj is equal to a finite combina- tion ofMI(X1), . . . ,MI(Xn)where allowed combinations are unions, intersections and complements.

We also define the classHSof interpretations as being the subclass ofHsatisfying the two following conditions, for every typetj:

everyHjis a finite set of rectilinear hyperplanes ofRnj,

for every predicate symbolX of typetj such thatMI(X) = hwithh Hj, there exists a predicate symbolY such that MI(Y) =h, and vice-versa,

every metricdj is induced by the Manhattan normNM onRnj defined for every e = (e1, . . . , enj) Rnj as NM(e) = P{|ek| |k∈ {1, . . . , nj}}.

For each variablexi∈ Vof typetj∈ T,Djis called thedomain ofxi, also noteddom(xi). LetIbe an interpretation fromH. AnI- assignmentω(onV) is a mapping which associates to each variable xi ∈ Van element of its domain. The semantics of an atom of the form(xi X) for a givenI-assignmentωis defined as[[(xi X)]](I)(ω) =true ifω(xi)∈ MI(X), false otherwise.

In the rest of the paper, anI-assignmentωis also considered as the vector(ω(x1), . . . , ω(x|V|))Q

{dom(xi)|xi∈ V}.

WIdenotes the set of allI-assignments. AnI-assignmentωis an I-modelof a formulaφ(denotedω|=Iφ) iff it makes the formulaφ true. A formula is said to beI-consistentif it admits anI-model. The set ofI-models of a formulaφis denotedM odI(φ). Two formulasφ andψareI-equivalent(denotedφ≡ψ) iffM odI(φ) =M odI(ψ).

Notice that using a formulaφofLin the context of an interpreta- tionI ∈ H, for every variablexiof typetjand for every hyperplane h Hj, if there exists two predicate symbolsX andY such that MI(X) =handMI(Y) =h, then we can easily express the fact thatxibelongs to one of the closed half-spaceshandhas well as the open half-spaces associated toh, the hyperplanehitself or the whole spaceRnjby use of the logical connectives¬,∧and∨.

Acube is a finite conjunction of literals. A formula is said to be indisjunctive normal form(DNF) if it is a disjunction of cubes (also viewed as a set of cubes). Any formulaφ ∈ Lcan be trans- formed into anI-equivalent DNF formula denotedDN F(φ), in a finite number of steps (though exponential in the size of the formula).

Example.We take the case drafted in the introduction to illustrate an interpretationIofH. We consider the variablesV ={x1, x2, x3} wherex1represents the kind of accomodation (house or flat),x2rep- resents its price in thousands of euros (k C) ranging over the interval [0,+∞[andx3 represent the location ranging over the planeR2. Since the variables range over different domains, we consider three typesT ={t1, t2, t3}such that for everyi∈ {1,2,3},xihas the typeti. We consider a set of predicatesPcomposed of18symbols denotedX11, . . . , X41,X12, . . . , X52,X13, . . . , X93, such that for every Xji∈ P,Xjihas the typeti.

Assume that the family is composed of three members Helen, David and Marc. Figure 1 depicts some regionsA,BandCofR2 considered by the family for the location of the accomodation, the half-spaces (i.e., half-planes) defining these regions, denotedhi and hi,i ∈ {1, . . . ,9}, themselves associated to9hyperplanes (i.e., lines); the presence of the dashed region will be explained in the next section. The equations of every hyperplane considered are defined as follows:

h1: 2x31−x32=−4, h2:x31= 2, h3:x32= 4, h4:x32= 6, h5:x31+x32= 11, h6: 2x31+x32= 21, h7:x31= 8, h8:x32= 6, h9:x31= 4.

We ask each member of the family to express their wishes in terms of a formula. Helen prefers a flat between90and 100kC in the regionA. David wants a flat below80kC in the regionBor a house

(3)

C

1 9

10 9 5 7

4 1 3

2 5 7 8

A B

h6 h1

h1 h2 h8

h8

h4 h3

h3

h9 h9

x31

h2 h4 h7 h7 h5

x32

h5 h6

Figure 1. Nine linesh1, . . . , h9forming the setH3.

above130kC in the regionA. Marc expects an accomodation in the regionCregardless of its price and of its type.

The interpretationI =hDI,MIion which we focus is de- fined as follows:

x1 is a one-dimensional binary variable. We setn1 = 1,H1 = {0,1},D1 = {0,1}andd1 the restriction onD1 of the usual distance over reals.0represents the flat and1the house. Notice that elements ofH1are points as hyperplanes ofR1.

x2 is a one-dimensional variable ranging over the half-space [0,+∞[. We set n2 = 1,H2 = {0,80,90,100,130},D2 = [0,+∞[andd2 the restriction onD2of the usual distance over reals.

x3is a two-dimensional variable ranging overR2. We setn3= 2, H3 ={h1, . . . , h9},D3 =R2andd3the euclidean distance of the plane.

• MIis defined as follows:

- predicate symbols of typet1:

MI(X11) =]− ∞,0], MI(X21) = [0,+∞[, MI(X31) =]− ∞,1], MI(X41) = [1,+∞[, - predicate symbols of typet2:

MI(X12) = [90,+∞[, MI(X22) =]− ∞,100], MI(X32) =]− ∞,80], MI(X42) = [130,+∞[, MI(X52) = [0,+∞[,

- predicate symbols of typet3:

MI(X13) =h1, MI(X23) =h2, MI(X33) =h3, MI(X43) =h4, MI(X53) =h5, MI(X63) =h6, MI(X73) =h7, MI(X83) =h8, MI(X93) =h9. Notice that for every Dj there exists a formula φ such that M odI(φ) = Dj. Indeed, for instance,M odI(((x1 X11) (x1∈X21))((x1∈X31)(x1∈X41))) ={0,1}=D1. The formulas encoding the information provided by Helen, David and Marc are respectively:

φ1= (x1∈X11)∧(x1∈X21)∧(x2∈X12)∧(x2∈X22)∧(x3 X13)(x3∈X23)(x3∈X33),

φ2= ((x1∈X11)∧(x1∈X21)∧(x2∈X32)∧(x3∈X43)∧(x3 X53)((x3 X63)(x3 X73)))((x1 X31)(x1 X41)(x2∈X42)(x3∈X13)(x3∈X23)(x3∈X33)),

φ3= (x3∈X83).

3 THE MERGING PROCESS

In this sectionIis any interpretation fromH. Recall thatWIdenotes the set of allI-assignments. Abelief/goal baseis a finite set of for- mulasφ1, φ2, . . .fromL, also viewed as the formula that is conjunc- tion of its elements. Aprofileis a finite multisetK={K1, . . . , Km} ofI-consistent belief/goal bases. A merging operator∆is a mapping which associates to a profileKand aI-consistent formulaICrepre- senting integrity constraints a subset∆IC(K)ofWI.

As in the PL case [8] we define a distance-based merging method of a profile via a three-step process: we first define the distanced between twoI-assignmentsω, ω0∈ WIas follows:

d(ω, ω0) =X

{dj(ω(xi), ω0(xi))|xi∈V, τ(xi) =tj}.

Given anI-assignmentω, its “local distance” to a belief/goal base K is defined as follows:dK(ω) = inf{d(ω, ω0) | ω0 |=I K}.

Then we use an aggregation function to compute the “global dis- tance” between ω and the profile K. As argued in the introduc- tion, we focus in this paper on the aggregation functionP

which supports the majority point of view of the belief/goal bases [10].

The global distance betweenω and Kis then denoteddK(ω) = P{dKk(ω)|Kk ∈ K}. Lastly, the result of the merging satisfies

IC(K) ={ω∈ ◦M odI(IC)|dK(ω)is minimal}.

In PL the set∆IC(K)is obviously a non-empty set satisfyingIC.

Indeed every formula of PL admits a finite set of models over its set of variables, thus there exists at least one modelωofICfor which the distancedK(ω)reaches a minimum. However, in our classHof interpretations ofL,M odI(IC)is usually an infinite set and it can be the case that∆IC(K)is empty or that someI-assignmentωin it is not anI-model ofIC. To circumvent these problems, we consider I-assignments of ◦M odI(IC) as candidates. This choice ensures

IC(K)to be a non-empty set whenM odI(IC)is a bounded set.

Furthermore, it does not question the natural distance requirement w.r.t.IC: eachI-assignment of◦M odI(IC)is at distance0ofIC w.r.t.dK. The following proposition holds:

Proposition 1. (1) AssumeM odI(IC)is a bounded non-empty set.

ThenIC(K)is a closed and bounded non-empty set.

(2) Assume in addition that M odI(IC) is a closed set. Then

IC(K)is a subset ofM odI(IC).

Proof. (1) By definition the set◦M odI(IC)is a closed subset of WIand it is bounded sinceM odI(IC)is bounded. Let us prove that

IC(K)is a non-empty set. A norm onRnis a continuous function.

Since for everyxi∈ Vof typetj,djis a distance induced by a norm and sincedKresults from operations ondjpreserving continuity,dK

is a continuous function onWI. Since◦M odI(IC)is a closed and bounded set, the minimum ofdK on◦M odI(IC)is reached in at least one point (from the Weierstrass extreme value theorem). This means that∆IC(K)is a non-empty subset of◦M odI(IC), it is also closed since it is the inverse image of a closed set (a singleton) by a continuous function.

(2) IfM odI(IC)is a closed set, it is equal to◦M odI(IC). There- fore,∆IC(K)is a subset ofM odI(IC)by definition.

Example (continued). LetK = {K1, K2, K3}with for every Kk ∈ K,Kk = k}. LetIC = (x3 X93), i.e., the integrity

(4)

constraints only bear on the location of the accomodation: available accomodations must be contained in the half-plane h9. Let D be the closed region of R2 which is dashed in Figure 1. Then

IC(K) ={ω∈ WI|ω(x1) = 0, ω(x2)[80,90], ω(x3)∈D}.

In PL every variablexi ∈ V is binary, i.e., of typet1 according to our running example. Hence, for two given assignmentsω, ω0of PL we simply haved1(ω(xi), ω0(xi)) = 0ifω(xi) = ω0(xi),1 otherwise; this implies that the distance between two assignments ω, ω0 defined asd(ω, ω0) =P

{d1(ω(xi), ω0(xi))|xi ∈ V}cor- responds to the Hamming distancedH between assignments of PL.

This shows that in the restricted PL setting,∆IC(K)corresponds to the propositional majority merging operator∆dH,

P

IC (K)[10, 8].

Notice also that in PL the metric is the same for every variable.

Yet in our framework the variables can range over different domains and be associated to different metrics. Due to the incommensurability of these metrics, our majority merging operator does not garantee to give the same importance to every variable. If one would like to overcome this problem, one would need to add an upstream step of normalization of the different metrics considered.

Finally, in PL the set of all possible assignments (propositional worlds in this case) is finite, hence the result of the merging process can be computed in a finite number of steps and be represented as a formula of PL. However, in our caseWI is not finite so that

IC(K) cannot always be expressed as a formula of L(see the example above). We intend in the sequel to overcome this problem.

In the rest of the paper,ICwill denote a cube andKa profile in which every belief/goal base is a cube. We first point out two prelim- inary results. The first one states that computing∆IC(K)comes down to computing componentwise some∆iIC(K) dom(xi) for everyxi ∈ V. The second result exploits the first one and pro- vides a generic method to compute∆IC(K)in a piecewise fashion, whenIC and formulas ofKare given in DNF (which can be as- sumed without loss of expressiveness).

Let xi a variable of type tj. Given a cube φ, the pro- jection of φ on xi, denoted φi, is the conjunction of lit- erals appearing in φ bearing on xi; Si(φ) denotes the set T{MI(X) | (xi X)is a literal ofφi} ∩ T

{dom(xi) \ MI(X)| ¬(xi∈X)is a literal ofφi}.iIC(K)is defined in a three-step process. The i-local distancediS between an elemente of dom(xi) and a subset S of dom(xi) is defined as diS(e) = inf{dj(e, e0) | e0 S}. The i-global distance diK between an element e of dom(xi) and the multiset {Si(Kk) | Kk ∈ K} is defined as diK(e) = P

{diSi(Kk)(e) |Kk ∈ K}. The sub- set∆iIC(K)ofdom(xi)is then defined as∆iIC(K) = {e

◦Si(IC)|diK(e)is minimal}. The following proposition holds:

Proposition 2. ∆IC(K) =Q

{∆iIC(K)|xi∈ V}.

Proof. Letω∈ WIandKk∈ K. By definition, the local distance betweenωandKkisdKk(ω) = inf{P

{dj(ω(xi), ω0(xi))|xi V, τ(xi) =tj} |ω0|=I Kk}. Yet sinceKkis a cube,M odI(Kk) = Q{Si(Kk)|xi∈ V}. Hence,

dKk(ω) =P

{inf{dj(ω(xi), e0)|e0∈Si(Kk)} |xi∈ V, τ(xi) =tj}

=P

{diSi(Kk)(ω(xi))|xi∈ V, τ(xi) =tj}.

Then we have:

dK(ω) =P {P

{diSi(Kk)(ω(xi))|xi∈ V} |Kk∈ K}

=P {P

{diSi(Kk)(ω(xi))|Kk∈ K} |xi∈ V}

=P

{diK(ω(xi))|xi∈ V}.

For every ω ∈ WI, ω IC(K) iff dK) = min{P

{diK(ω(xi))|xi ∈ V} |ω ∈ ◦M odI(IC)}. Yet since ICis a cube,◦M odI(IC) =Q

{◦Si(IC)|xi∈ V}.

Hence,ωIC(K)iffdK) =P

{min{diK(e)|e∈

◦Si(IC)} | xi V}. This means thatIC(K) = Q{∆iIC(K)|xi∈ V}.

Proposition 2 shows that computing∆IC(K)comes down to computing componentwise a set∆iIC(K)for everyxi ∈ Vsince the former results from the Cartesian product of the latters. This property holds for our class of majority merging operators since the aggregation functionP

commutes with itself (see the proof of Proposition 2). Contrastingly, arbitration operators [11, 7] using e.g.

M AXas the aggregation function would not satisfy this property, sinceM AXdoes not commute withP

.

In [10] the authors proposed a syntactic characterization of the re- sult of the merging process for propositional majority merging oper- ators. They assumed that every propositional belief/goal base of the profile to be merged is given in DNF. In the following we generalize their approach. For this purpose, we assume now thatICand every belief/goal base ofKare formulas ofLgiven in DNF. We exploit Proposition 2 and provide a generic algorithm to compute∆IC(K) in a piecewise fashion.

Proposition 3.

IC(K) =S

{∆IC(K)|

IC∈IC, K∈K1×. . .×Km,

dK(ω)is minimal, for someω∈IC(K)}.

Proof. LetRbe the set on the right side of the equality.

: letω IC(K). Letω1 |=I K1, . . . , ωm |=I Kmsuch that dK(ω) =P

{d(ω, ωk)|Kk ∈ K}. There exists a cubeIC ∈IC such thatω |=I ICand for everyKk ∈ Kthere exists a cube T ∈Kksuch thatωk|=IT. Thusω∈R.

: letω IC(K), withIC IC andK K1 ×. . .× Km such thatdK(ω)is minimal. Assuming that there existsω0

IC(K)withdK0)< dK(ω)would contradict the minimality of dK(ω). Thereforeω∈IC(K).

Taking advantage of Propositions 2 and 3, we get Algorithm 1 for computing∆IC(K):

Proposition 4. Assume we are given an algorithm to compute

iIC(K)for everyxi ∈ V, and letf(IC,K)be its time com- plexity. Letα= max{|IC|,max{|Kk| |Kk∈ K}}. Then the space and time complexities of Algorithm 1 are respectively inO(|V|αm) andO(|V|αmf(IC,K)).

Proof. Obvious.

Example (continued). φ1, φ3 and IC are cubes and thus are already in DNF. A DNF formula I-equivalent to φ2 is φ02 = {T1φ02, T2φ02, T3φ02}where:

T1φ02 = (x1 ∈X11)∧(x1∈X21)∧(x2∈X32)∧(x3∈X43)∧(x3 X53)(x3∈X63),

T2φ02 = (x1 ∈X11)∧(x1∈X21)∧(x2∈X32)∧(x3∈X43)∧(x3 X53)(x3∈X73),

T3φ02 = (x1 ∈X31)∧(x1∈X41)∧(x2∈X42)∧(x3∈X13)∧(x3 X23)(x3∈X33).

(5)

Algorithm 1: Computing∆IC(K) Input : a profileKand a formulaIC Output:∆IC(K)

begin

1

IC(K) =∅;

2

dmin= +∞;

3

forallIC∈IC,K∈K1×. . .×Kmdo

4

forallxi∈ Vdo

5

Compute∆iIC(K);

6

Pick up anyωiiIC(K);

7

end

8

ifP

{dKi)|xi∈ V} ≤dminthen

9

ifP

{dKi)|xi∈ V}< dminthen

10

IC(K) =∅;

11

IC(K) = ∆IC(K)Q

{∆iIC(K)|xi∈V};

12

end

13

end

14

return∆IC(K);

15

end

16

Since|IC×K1×K2×K3|= 3, the main loop of Algorithm 1 (lines 4 to 14) is performed three times. The definition of∆IC(K) previously reported in this paper is given by∆IC(K)IC(K0) withK={K1, T1φ02, K3}andK0={K1, T2φ02, K3}.

The algorithm proposed in [10] for computing∆dH,Pis a special case of Algorithm 1. When all variables ofVare Boolean ones, com- puting∆iIC(K)simply consists in electing using strict majority the truth value(s) of the literals bearing onxiappearing inK.

4 COMPUTING ∆

iIC

(K

) UNDER H

S

In this section we consider interpretations ofHSforLand show that in this context∆iIC(K)can be expressed as a formula ofL. In our running example, the considered interpretationIdoes not belong toHS. So we need to switch to a particular interpretationIS∈ HS. Example (continued). Figure 2 depicts three regionsA0,B0andC0 considered by the family for the location of the accomodation. Each one of these regions is a cuboid ofR2(i.e., a rectangle), thus all the lines defining them are rectilinear hyperplanes as required, i.e., every line ofH3is parallel to the axisx31orx32.

Their equations are defined as follows:

h1:x31= 0, h2:x31= 2, h3:x32 = 4, h4:x31= 6, h5:x32= 1, h6:x31 = 10, h7:x32= 8, h8:x32= 6, h9:x31 = 4.

ISrequires that for every predicate symbolXof typetjsuch that MIS(X) = hwithh Hj, there exists a predicate symbolY such thatMIS(Y) =h, and vice-versa. Following this condition, we consider18predicate symbolsX13, . . . , X183 of typet3.MIS is defined as follows, for every predicate symbol of typet3, for every j∈ {1, . . . ,9}:

MIS(X2j−13 ) =hj and MIS(X2j3) =hj.

Let K = {K1, K2, K3}. Let IC be a cube of IC and for every Kk ∈ K, let Tk be a cube of Kk such that by project- ing formulasT1, T2, T3, IConx3, we get respectively four cubes T13, T23, T33, IC3bearing onx3, defined as

A’

9

10 9 5 7

4 1 3

2 5 7 8

3

C’

B’

h2 h2 h8

h8

h4 h4 h3

h3

h9 h9

x32

x31

h1 h1 h5

h5 h7 h7

h6 h6

Figure 2. Nine rectilinear linesh1, . . . , h9forming the setH3.

IC3= (x3∈X173 ),

T13= (x3 ∈X23)(x3∈X63)(x3∈X33)(x3∈X133 ),

T23= (x3 ∈X83)(x3∈X103)(x3 ∈X113 ),

T33= (x3 ∈X153 ).

Notice that for everyk ∈ {1,2,3},Tk3 is a cube, hence every set S3(Tk3)represents a cuboid ofR2(i.e., a rectangle). In fact, the sets S3(T13),S3(T23)andS3(T33)respectively correspond to the regions A0, B0 and C0. LetK = {T1, T2, T3}. Then3IC(K) is the closed set of points of◦S3(IC)the “closest” ones to regionsA0, B0andC0(i.e., the dashed region in Figure 2).

LetI ∈ HSandxia variable ofVof typetj. For everyKk∈ K, recall thatKki denotes the conjunction of literals appearing inKk

bearing onxi. For everyl∈ {1, . . . , nj}, letKki(xil)be the conjunc- tion of literals ofKkidefined on predicate symbolsXwhereMI(X) is a half-space which the associated hyperplane is orthogonal to the axisxil(namely, the only axis which is not parallel to the hyperplane associated toMI(X)). In our running example, the linesh1andh2

are orthogonals to the axisx31 but noth3andh7, henceK13(x31) = (x3∈X23)(x3∈X33)andK13(x32) = (x3∈X63)(x3∈X133 ).

Algorithm 2 allows us to compute∆iIC(K)for a givenxi∈ V of typetj. The key of this algorithm is that inHS,◦Si(IC)is a cuboid, as well asSi(Kk)for everyKk∈ K. Hence, for comput- ing∆iIC(K), it is enough, for each axisxil, to project the cuboids onxil, then to “merge” locally the set of intervals resulting from the projections onxil, and lastly to return the Cartesian product of all the results. Notice that this decomposition on each axis is only fea- sible when the metricdjis induced by the Manhattan norm, as it is required byHS. For the sake of clarity, we use the following nota- tion in Algorithm 2. LetR=R∪ {−∞,+∞}andα, β∈ R, (α, β)denotes the interval in which each bound is either open or closed and[α, β]denotes a (possibly unbounded) closed interval; for a given finite setE⊆R, if there existsγ∈Esuch thatγ=−∞, thenmin{γ ∈E}=−∞, and if there existsγ ∈Esuch that γ= +∞, thenmax{γ|γ∈E}= +∞.

Proposition 5. Letxi∈ Vof typetj.

(1) Algorithm 2 computesiIC(K)inO(nj|V|)time.

(2) There exists a formulaφofLsuch thatSi(φ) = ∆iIC(K).

We omit the proof of this proposition for space reasons.

Algorithms 1 and 2 allow us to compute∆IC(K)when for every

Références

Documents relatifs

The last set of the constraints in the model (4.1) guarantees that the sum of the lower bounds of the allocated inherited inputs to the merged unit is at most equal to the product

In this section we investigate the compatibility of the rationalization-driven merging operators introduced in the previous section, i.e., the expansion-based, revision-based,

In order to avoid the latter case, we are interested in defining consensus opera- tors, i.e., merging operators such that the merged base C that is generated satisfies the

In order to fill the gap, we investigate possi- ble translations in a belief merging framework of some egalitarian properties and concepts coming from social choice theory, such

Contrastingly, the compositional merging operators defined in this paper are based on several merging operators and offer better merging

Finally, it is easy to check that language inde- pendence (whatever P among the choices we consid- ered) is logically independent from syntax independence, where a

This simple example shows that some IC merging opera- tors allow “impossible worlds” (i.e., those not satisfying the integrity constraints) to play a role in the merging process,

Definition 4 (Approval) Given a profile of bases E, the approval rule av is defined as: av(E) = {ω s.t.. This postulate is satisfied by a merging operator when it allows to identify