Computing on rings by oblivious robots: a unified approach for different tasks

Size: px
Start display at page:

Download "Computing on rings by oblivious robots: a unified approach for different tasks"

Transcription

1 Computing on rings y olivious roots: unifie pproh for ifferent tsks Ginlorenzo D Angelo, Griele Di Stefno, Alfreo Nvrr, Niols Nisse, Krol Suhn To ite this version: Ginlorenzo D Angelo, Griele Di Stefno, Alfreo Nvrr, Niols Nisse, Krol Suhn. Computing on rings y olivious roots: unifie pproh for ifferent tsks. Algorithmi, Springer Verlg, 2015, 72 (4), pp <hl > HAL I: hl Sumitte on 25 Jun 2015 HAL is multi-isiplinry open ess rhive for the eposit n issemintion of sientifi reserh ouments, whether they re pulishe or not. The ouments my ome from tehing n reserh institutions in Frne or ro, or from puli or privte reserh enters. L rhive ouverte pluriisiplinire HAL, est estinée u épôt et à l iffusion e ouments sientifiques e niveu reherhe, puliés ou non, émnnt es étlissements enseignement et e reherhe frnçis ou étrngers, es lortoires pulis ou privés.

2 Computing on rings y olivious roots: unifie pproh for ifferent tsks, Ginlorenzo D Angelo 1, Griele Di Stefno 2, Alfreo Nvrr 1, Niols Nisse 3, n Krol Suhn 4 1 Diprtimento i Mtemti e Informti, Università egli Stui i Perugi, Itly. ginlorenzo.ngelo@mi.unipg.it lfreo.nvrr@unipg.it 2 Diprtimento i Ingegneri e Sienze ell Informzione e Mtemti, Università egli Stui ell Aquil, Itly. griele.istefno@univq.it 3 COATI Projet, INRIA/I3S(CNRS/UNSA), Frne. niols.nisse@inri.fr 4 Fult e Ingenierì y Cienis, Universi Aolfo Iàñez, Chile krol.suhn@ui.l Astrt. A set of utonomous roots hve to ollorte in orer to omplish ommon tsk in ring-topology where neither noes nor eges re lele (tht is, the ring is nonymous). We present unifie pproh to solve three importnt prolems: the exlusive perpetul explortion, the exlusive perpetul lering, n the gthering prolems. In the first prolem, eh root ims t visiting eh noe infinitely often while voiing tht two roots oupy sme noe (exlusivity property); in exlusive perpetul lering (lso known s serhing), the tem of roots ims t lering the whole ring infinitely often (n ege is lere if it is trverse y root or if oth its enpoints re oupie); n in the gthering prolem, ll roots must eventully oupy the sme noe. We investigte these tsks in the Look-Compute-Move moel where the roots nnot ommunite ut n pereive the positions of other roots. Eh root is equippe with visiility sensors n motion tutors, n it opertes in synhronous yles. In eh yle, root tkes snpshot of the urrent glol onfigurtion (Look), then, se on the pereive onfigurtion, tkes eision to sty ile or to move to one of its jent noes (Compute), n in the ltter se it eventully moves to this neighor (Move). Moreover, roots re enowe with very wek pilities. Nmely, they re nonymous, synhronous, olivious, uniform (exeute the sme lgorithm) n hve no ommon sense of orienttion. In this setting, we evise lgorithms tht, strting from n exlusive n rigi (i.e. perioi n symmetri) onfigurtion, solve the three ove prolems in nonymous ring-topologies. 1 Introution In the fiel of root-se omputing systems, we onsier k 1 roots ple on the noes of n input grph. Roots re equippe with visiility sensors n motion tutors, n operte in Look-Compute-Move yles in orer to hieve ommon tsk (see [19]). The Look-Compute-Move moel onsiers tht in eh yle root tkes snpshot of the urrent glol onfigurtion (Look), then, se on the pereive onfigurtion, tkes eision to sty ile or to move to one of its jent noes (Compute), n in the ltter se it moves to this neighor (Move). Cyles re performe synhronously, i.e., the time etween Look, Compute, n Move opertions is finite ut unoune, n it is eie y the versry for eh root. Hene, roots tht nnot ommunite my move se on outte pereptions. From the prtil viewpoint, the Look-Compute-Move moel fithfully esries the ehvior of some rel roots. This work hs een prtilly supporte y the Reserh Grnt 2010N5K7EB PRIN 2010 ARS TehnoMei (Algoritmi per le Reti Soili Teno-meite) from the Itlin Ministry of University n Reserh, n y Projet ECOS-SUD Chile (Ation ECOS C12E03) n the Inri Assoite Tem AlDyNet. Preliminry results onerning this work hve een presente in the 15th IEEE IPDPS Workshop on Avnes in Prllel n Distriute Computing Moels (APDCM) [15].

3 In the ontinuous plne, this moel is referre in the literture lso s the CORDA moel [28]. The inury of the sensors use y roots to sn the surrouning environment motivtes its isretiztion. Moreover, roots n moel softwre gents moving on omputer network. Vrious prolems hve een stuie in this setting n severl lgorithms hve een propose for prtiulr topologies suh s lines, rings, trees n gris. Here, we propose unifie pproh to solve the exlusive perpetul explortion, the exlusive perpetul lering, n the gthering prolems on rings. The relevne of the ring topology is motivte y its ompletely symmetril struture. It mens tht lgorithms for rings re more iffiult to e evise s they nnot exploit ny topologil struture, s ll noes look the sme. In ft, our lgorithms re only se on roots isposl n not on topology. We onsier minimlist vrint of the Look-Compute-Move moel whih hs very wek hypothesis. Neither noes nor eges of the grph re lele n no lol memory is ville on noes. Roots re nonymous, synhronous, uniform (i.e. they ll exeute the sme lgorithm), olivious (memoryless) n hve no ommon sense of orienttion. Aprt for the gthering prolem, guie y physil onstrints, the roots my lso stisfy the exlusivity property, oring to whih t most noe n e oupie y t most one root [2]. In ontrst to the CORDA moel in the ontinuous plne, we ssume tht moves re instntneous, n hene ny root performing Look opertion sees ll other roots t noes n not on eges. Note tht, in isrete synhronous environment this oes not onstitute limittion to the moel. In ft, n lgorithm nnot tke vntges from seeing roots on the eges s the versry n eie to perform the Look opertions only when the roots re on the noes. On the other hn, if n lgorithm tkes vntge from the ssumption tht the roots lwys oupy noes, the sme lgorithm n e pplie y ing the rule tht if root sees nother root on n ege, it just on t move (i.e. it wits until ll the roots oupy only noes). In the following, we enote suh moel s the isrete CORDA moel. The isrete CORDA moel reeive lot of ttention in the reent yers. Most of the propose lgorithms onsier tht the strting onfigurtion is exlusive, i.e., ny noe is oupie y t most one root, n rigi, i.e., symmetri n perioi. An exlusive onfigurtion is lle symmetri if the ring mits geometril xis of symmetry, iviing the ring into two speulr hlves, it is lle perioi if it is invrile uner non-trivil (i.e., non-omplete) rottions. In the following, we review the literture onerning the CORDA moel on vrious grph topologies. For the literture out the three prolems uner stuy in ifferent settings, the interest reer n refer to [1, 4, 9, 10, 20, 21, 27]. Relte work. In the prolem of grph explortion with stop [16 18], it is require tht eh noe (or eh ege) of the input grph is visite finite numer of times y t lest one root n, eventully, ll the roots hve to stop. Wheres, the exlusive perpetul grph explortion [2, 3, 7, 8] requires tht eh root visits eh noe of the grph infinitely mny times. Moreover, it s the exlusivity onstrint. In [7], first results on n-noe rings re given. In etil, the pper gives lgorithms for k = 3 n n 10, for k = n 5 (if n mo k 0), n shows tht the prolem is infesile for k = 3 n n 9, n for some symmetri onfigurtions where k n 4. Grph lering (lso lle grph serhing) hs een wiely stuie in entrlize [20] n istriute settings (e.g., [21]). The im is to mke the roots ler ll the eges of ontminte grph. An ege is lere if it is trverse y root or if oth its ens re oupie. However, lere ege is reontminte if there is pth without roots from ontminte ege to it. The stuy of grph lering in the isrete CORDA moel when the exlusivity property must e lwys 2

4 stisfie is introue in [6] where hrteriztion of the exlusive perpetul grph lering on tree topologies is given. As fr s we know, no results hve een propose in ring topologies for the exlusive perpetul grph lering prolem in the isrete CORDA moel. The gthering prolem onsists in moving ll the roots in the sme noe n remin there. In [11] n [14], full hrteriztion of the gthering on gri n tree topologies, respetively, without ny multipliity etetion is given. On rings, it hs een proven tht the gthering is unsolvle if the roots re not empowere y the so-lle multipliity etetion pility [26], either in its glol or lol version. In the former type, root is le to pereive whether ny noe of the grph is oupie y single root or more thn one (i.e., multipliity ours). In the ltter type, root is le to pereive the multipliity only if it is prt of it. Using the glol multipliity etetion pility, in [26], some impossiility results hve een proven. Then, severl lgorithms hve een propose for ifferent kins of exlusive initil onfigurtions in [12, 25, 26]. These ppers left open some ses whih hve een lose in [13] where unifie strtegy for ll the gtherle onfigurtions hs een provie. With lol multipliity etetion pility, n lgorithm strting from rigi onfigurtions where the numer of roots k is stritly smller thn n 2 hs een esigne in [22]. In [23], the se where k is o n stritly smller thn n 3 hs een solve. In [24], the uthors provie n lgorithm for the se where n is o, k is even, n 10 k n 5. Ppers [23] n [24] o not ssume tht the initil onfigurtion is rigi. The remining ses with lol multipliity etetion re left open n the esign of unifie lgorithm for ll the ses is still not known. Contriution. In this work, we provie unifie pproh for solving ifferent tsks in the isrete CORDA moel on ring topologies. Nmely, strting from ny rigi onfigurtion, we solve the exlusive perpetul explortion, the exlusive perpetul lering, n the gthering with lol multipliity etetion pility. Our lgorithms onsist of two phses. The first phse is ommon to ll prolems n llows k > 2 roots to hieve prtiulr rigi exlusive onfigurtion, enote elow y C, in n n-noe ring, k < n 2. The seon phse epens on the tsk. We present n lgorithm tht, strting from onfigurtion C, solves oth the exlusive perpetul explortion n the exlusive perpetul lering prolems, for ny tem of k roots in n-noe rings, n > 9, 5 k < n 3 (ut for k = 5 n n = 10). Moreover, we esign speifi lgorithm tht, strting from ny rigi onfigurtion, solves the exlusive perpetul lering prolem using n 3 roots in ny n-noe ring, n > 9. Finlly, we provie some impossiility results for the exlusive perpetul lering prolem, showing tht for 3 n 9 n k < n, or k {1,2,3,n 2,n 1} n n > 4, the prolem nnot e solve in n-noe ring with k roots. All together, we otin n lmost full hrteriztion of exlusive perpetul lering in rings, leving only open the ses (k = 4, n > 9) n (k = 5, n = 10). Conerning the gthering prolem, we esign n lgorithm tht strting from onfigurtion C solves the prolem with lol multipliity etetion for ny tem of k roots in n-noe rings, 2 < k < n 2 (note tht, if n = 2 or k n 2, no rigi onfigurtion exists). It is worth noting tht for the exlusive perpetul explortion n for the gthering prolems, esies proviing unifie pproh, we solve some open ses. Outline. In the next setion we efine the nottion use in the pper n esrie the isrete CORDA moel. In Setion 3, we propose n lgorithm to hieve the speil onfigurtion C. Exlusive perpetul lering is formlly efine n stuie in Setion 4. We note tht the lgorithms given in this setion lso solve the exlusive perpetul explortion prolem. The gthering prolem 3

5 x x y y z z Fig.1. A onfigurtion C in ring with 16 noes. The oupie noes re epite in grey. is onsiere in Setion 5. We then onlue the pper y Setion 6 with some possile future reserh iretions. 2 Moel n Nottions We onsier tem of k 1 roots lote in n n-noe ring, n 3. The ring is nonymous, tht is its noes n eges re unistinguishle, n no orienttion is provie. A onfigurtion onsists of the set of noes tht re oupie y root. Note tht, it oes not tke into ount the numer of roots in eh noe. A onfigurtion is si exlusive if eh noe is oupie y t most one root. For 2 k < n 2, we enote y C the onfigurtion tht onsists of k 1 onseutive oupie noes, one empty noe, one oupie noe, n t lest further two onseutive empty noes. An intervl in onfigurtion is n inlusion-mximl (possily empty) suset of onseutive empty noes, i.e., supth of empty noes tht stns etween two oupie noes. For instne, in C, there re k 2 intervls of length 0, one intervl of length 1, n one intervl of length n k 1 > 1. In onfigurtion C, view from some oupie noe r C is sequene of integers W(r) = (q 0,q 1,...,q j ),j < k, tht represents the sequene of the lengths of the intervls met when trversing the ring in one iretion (lokwise or nti-lokwise) strting from r. Ausing the nottion, for ny i j, we refer to q i s the orresponing intervl n its length. Note tht, if C is exlusive, then j = k 1 n 0 i<j q j = n k. Moreover, noe r my hve 2 istint views, epening on the iretion. Unless ifferently speifie, we refer to W(r) = (q 0,q 1,...,q j ) s the view t r tht is minimum in the lexiogrphil orer. For instne, given the onfigurtion epite in Figure 1, the possile views of the root t noe x re (2,1,3,1,2,1) n W(x) = (1,2,1,3,1,2). Let W(C) e the set of the t most 2k views (t most two views per oupie noe) in the onfigurtion C. The supermin onfigurtion view Wmin C of the onfigurtion C is the miniml view in W(C) in the lexiogrphil orer. Note tht, in Wmin C, no intervl hs length stritly smller thn q 0, n, moreover, if k < n, then q k 1 > 0. For instne, Wmin C = (q 0,...,q k 2,q k 1 ) with q 0 =... = q k 3 = 0, q k 2 = 1 n q k 1 = n k 1. For ny view W = (q 0,q 1,...,q j ) in onfigurtion C, we set W = (q 0,q j,q j 1,...,q 1 ), n W i = (q i,q (i+1) mo (j+1),...,q (i+j) mo (j+1) ) enotes the view otine y reing W strting from q i s first intervl. Note tht W(C) = {W i, W i, 0 i j}. Let I C e the set of intervls q i suh tht W i or W i re equl to Wmin C. The intervls in I C re the supermins of C. E.g., I C = 1. 4

6 An exlusive onfigurtion is lle symmetri if the ring mits geometril xis of symmetry, iviing the ring into two speulr hlves. An exlusive onfigurtion is lle perioi if it is invrile uner non-trivil (i.e., non-omplete) rottions. A onfigurtion whih is perioi n symmetri is lle rigi. In Figure 1, the intervls (onsisting of one noe) etween oupie noes y n z n etween y n z re the supermins of C n W C min = (1,2,1,2,1,3). I C = 2 n C is perioi n hs one unique xis of symmetry pssing through n. We now give some useful properties tht re prove in [13]. In prtiulr, Lemm 1 is use to etet possile symmetry or perioiity of onfigurtion. Property 1 ([13]). Given view W of onfigurtion C, there exists 0 < i j suh tht W = W i iff C is perioi; there exists 0 i j suh tht W = W i iff C is symmetri; C is perioi n symmetri iff there exists one unique xis of symmetry. It follows tht if onfigurtion is rigi, then eh oupie noe hs view whih is ifferent from ny other oupie noe. Lemm 1 ([13]). Given onfigurtion C, I C = 1 iff C is either rigi or it mits only one xis of symmetry pssing through the supermin; I C = 2 iff C is either perioi n symmetri with the xis not pssing through ny supermin or it is perioi with perio n 2 ; I C > 2 iff C is perioi, with perio t most n 3. We onsier isrete vrint of the CORDA moel introue in [28] where the roots hve no expliit wy of ommunite to eh other (e.g., they nnot exhnge messges). However, they re enowe with visiility sensors llowing eh root to pereive their own position in the grph n the positions of ll the other roots. However, when the exlusivity property oes not hol, n more thn one root resie t sme noe, root only pereives so lle multipliity, without the informtion of the ext numer of roots omposing it. The roots proee y yles of three phses Look-Compute-Move. In the Look-phse, root t some noe r esses snpshot of the network tht onsists of the view W(r). In the Computephse, the root eies its tion se on the informtion it reeive uring the Look-phse. Finlly, uring the Move-phse, the root exeutes its tion, i.e., it moves to neighoring noe or stys ile. The environment is fully synhronous whih, in prtiulr, mens tht the Computephse my e exeute se on n out-te view of the network. We onsier minimlist vrint of the moel, where the roots hve very wek ilities. Roots re nonymous, i.e., they o not hve ientifiers, uniform, i.e., they ll run the sme lgorithm, olivious, i.e., memoryless, n they hve no sense of iretion, i.e., they o not gree on ommon orienttion of the ring. Unless ifferently speifie, two or more roots nnot oupy the sme noe (exlusivity property). When the exlusivity property is not impose (e.g. for solving the gthering prolem), the roots hve the so lle lol multipliity etetion pility tht is, root is le to etet whether the noe where it resies is oupie y more thn one root or only y itself, ut it is not le to etet the ext numer of roots oupying the noe. Note tht this is the wekest ssumption tht hs to e me to solve the gthering sine it hs een shown tht the gthering is impossile if no multipliity etetion pility is llowe [26]. 5

7 In ontrst to the CORDA moel in the ontinuous plne, we ssume tht moves re instntneous, n hene ny root performing Look opertion sees ll other roots t noes n not on eges. We remrk tht, in isrete synhronous environment this oes not onstitute limittion to the moel. We ll suh moel the isrete CORDA moel. Our gol is to investigte the fesiility of severl ollortive tsks with these wek hypothesis. We ssume tht the strting onfigurtion is rigi n exlusive. 3 Rehing onfigurtion C In this setion, we propose n lgorithm, lle Align, in the isrete CORDA moel tht llows to reh onfigurtion C strting from ny exlusive rigi onfigurtion. Algorithm Align will e use in next setions to hieve the onfigurtions suitle for the exlusive perpetul explortion, lering, or gthering prolems. We first esrie the lgorithm tht llows to reh onfigurtion C. Then, we prove its orretness. 3.1 Algorithm Align The ie t the sis of Algorithm Align is to exploit the initil rigiity n exlusivity properties. In so oing, we n ensure tht one single root moves t time. The moves performe im to (lexiogrphilly) reue the unique supermin onfigurtion view of rigi onfigurtion in wy tht the otine onfigurtion is still rigi n exlusive, until onfigurtion C is hieve. By rigiity n exlusivity, the strting onfigurtion hs unique supermin intervl n eh noe hs unique supermin onfigurtion view (see Property 1 n Lemm 1). Therefore, the snpshots provie to the roots llow them to gree on ommon view (the unique minimum one) where eh root n ientify its position. This ensures tht single root will move n tht the next onfigurtion is still exlusive. Given onfigurtion C, four rules, lle reution i (C), i { 1,0,1,2}, re efine elow where, for eh rule, single root is ske to move to n empty noe. reution 0 (C) is exeute only if the supermin hs length t lest one. If the supermin hs null length, reution 1 (C) is exeute if the orresponing move oes not rete ny symmetry. Otherwise, reution 2 (C) is exeute if it oes not rete ny symmetry, n reution 1 (C) is exeute otherwise. We prove tht, strting from ny rigi onfigurtion, the move resulting from this lgorithm hieves new rigi onfigurtion. The only exeption is onfigurtion C s suh tht Wmin Cs = (0,1,1,2). In ft, from suh onfigurtion, ny single move woul generte either symmetri onfigurtion or onfigurtion C s itself. In this se, we first perform reution 1 (C s ), otining the symmetri onfigurtion C suh tht Wmin C = (0,0,2,2), then we perform reution 1 (C ) whih les to C. In ny se, in the entire lgorithm, only one root is llowe to move t one time. Moreover, we prove tht reution i (C), i {0,1,2} stritly ereses the supermin. Finlly, from some onfigurtion C, pplying reution 1 (C) my le to onfigurtion C with greter supermin onfigurtion view. However, we prove tht, in this se, the next move will reh new onfigurtion whose supermin onfigurtion view is stritly smller tht the one of C. Sine, lerly, C is the rigi onfigurtion with smllest supermin onfigurtion view, this will prove tht exeuting Algorithm Align eventully hieves C. We now formlly efine the four rules mentione ove. Let C e ny exlusive n rigi onfigurtion n let W C min = (q 0,q 1,...,q k 1 ) e its unique supermin onfigurtion view. Let l 1 e the smllest integer suh tht q l1 > 0 n let l 2 e the smllest integer suh tht q l2 > q l1. Tht is, if l 1 > 0 n l 2 > l 1 + 1, W C min = (0,...,0,q l 1,0,...,0,q l2,q l2 +1,...,q k 1 ). Let,, n 6

8 e the noes etween the intervls q 0 n q k 1, q l1 n q l1 +1, q l2 n q l2 +1, n q k 2 n q k 1, respetively. reution 0 (C): The root t moves to its neighor in the intervl q 0 > 0. Then, the new onfigurtion is (q 0 1,q 1,...,q k 2,q k 1 +1); reution 1 (C): The root t moves to its neighor in the intervl q l1 > 0. Then, the new onfigurtion is (q 0,q 1,...,q l1 1,q l1 1,q l ,...,q k 1 ); reution 2 (C): The root t moves to its neighor in the intervl q l2 > 0. Then, the new onfigurtion is (q 0,q 1,...,q l2 1,q l2 1,q l ,...,q k 1 ); reution 1 (C): The root t moves to its neighor in the intervl q k 1 > 0. Then, the new onfigurtion is (q 0,q 1,...,q k 2 +1,q k 1 1). The pseuo-oe of lgorithm Align is formlly given in Figure 2 n esrie lter. It is ler from the efinition of the rules tht, from n exlusive rigi onfigurtion, only one root n exeute move n tht the rehe onfigurtion is still exlusive. Note tht, in the se tht the onfigurtion is C s (i.e. Wmin Cs = (0,1,1,2)), ny reution move retes symmetri onfigurtion. In this se, we perform reution 1 whih proues the symmetri onfigurtion C suh tht Wmin C = (0,0,2,2). After this, reution 1 is gin performe n it les to C (i.e Wmin C = (0,0,1,3)). As C is symmetri, the supermin onfigurtion view n e otine y reing the ring in oth possile iretions (i.e. Wmin C = (WC min )). However root is unequivolly ientifie s the single root on the xis of symmetry n reution 1 orrespons to moving in n ritrry iretion. In ny se C is hieve. In next susetion, we formlly prove tht C is eventully hieve n tht, exept for the se of C s, the otine intermeite onfigurtions re lwys rigi. Pseuo-oe of Align. The pseuo-oe of Align is given in Figure 2 n it is performe y generi root r. It mkes use of proeure reution i whose pseuo-oe is given in Figure 3 n esrie lter. Let q min e the first intervl of Wmin C. If q min > 0, the lgorithm performs reution 0 (lines 2 3). Otherwise, it first tries to perform reution 1 y omputing the onfigurtion C tht woul e otine (line 5) n y heking whetherc is symmetri (line 6). In the negtive se, reution 1 is performe (line 7), Otherwise, the lgorithm tries to perform reution 2 (lines 9 11) n then reution 1 (lines 13 15). If the onfigurtion otine is still symmetri, then it must e C s suh tht Wmin Cs = (0,1,1,2). In this se, reution 1 is performe t line 17. The onfigurtion otine is C suh tht Wmin C = (0,0,2,2). At the next step, reution 1 is gin performe t line 7. We now esrie the pseuo-oe of reution i whih is given in Figure 3 s performe y eh root. Let W = (q 0,q 1,...,q k 1 ) e the view of C re y the root r whih performs the proeure n let Wmin C = ( q 0, q 1,..., q k 1 ). At lines 1 6, the lgorithm moves the lst root in supermin onfigurtion view, tht is it performs reution 1. If (Wmin C ) k 2 (Wmin C ) k 1, then the root hs to move if n only if W 1 = Wmin C (line 2), tht is, q 0 = q k 1, q 1 = q 0,..., q k 1 = q k 2, n it hs to move towrs q 0 (line 3) orer to reue q k 1 y enlrging q k 2. If (Wmin C ) k 2 (Wmin C ) k 1, then the root hs to move if n only if W k 2 = Wmin C (line 5) n it hs to move towrs q k 1 (line 6). Lines 7 9 implement reution 0 whih onsists in reuing the supermin intervl y moving the root on the lrgest sie of suh intervl, tht is the root whose view is the supermin one. At lines the lgorithm performs reution i for i {1,2}. 7

9 Algorithm: Align Input: Rigi n exlusive onfigurtion C with view W = (q 0,q 1,...,q k 1 ) s seen from root r 1 Let q min e the first intervl of W C min; 2 if q min > 0 then 3 Apply reution 0(C,W); 4 else 5 Let C e the onfigurtion otine fter reution 1(C,W); 6 if not symmetri(c ) then 7 Apply reution 1(C,W); 8 else 9 Let C e the onfigurtion otine fter reution 2(C,W); 10 if not symmetri(c ) then 11 Apply reution 2(C,W); 12 else 13 Let C e the onfigurtion otine fter reution 1(C,W); 14 if not symmetri(c ) then 15 Apply reution 1(C,W); 16 else 17 Apply reution 1(C,W); Fig. 2. Algorithm Align. If (W C min ) l i (W C min ) l i +1, then root hs to move if n only if there exists n integer m suh tht q 0 = q m, q 1 = q m 1,..., q li = q 0, tht is if n only if W m = W C min n m = l i (line 11). In this se, suh root hs to move towrs q 0 (line 12). If (W C min ) l i (W C min ) l i +1, then root hs to move if n only if there exists n integer m suh tht q 0 = q m, q 1 = q m+1,..., q li = q k 1, tht is if n only if W m = W C min n k 1 m = l i (line 14). In this se, suh root hs to move towrs q k 1 (line 15). 3.2 Corretness We onsier rigi exlusive onfigurtion C with unique (y Lemm 1) supermin onfigurtion view W C min = (q 0,q 1,...,q k 1 ). We prove tht, when one of the four rules is pplie y Algorithm Align, the resulting onfigurtion C is still rigi. Moreover, in the se of the first three rules, the supermin onfigurtion view of C is stritly smller thn W C min. In the se of reution 1, we must onsier the next move to stritly reue the supermin onfigurtion view. Sine W C min = (q 0,q 1,...,q k 1 ) is the supermin onfigurtion view, no intervl hs length smller thn q 0 n q 1 q k 1. Therefore, if q 0 > 0 n reution 0 is pplie, the view (q 0 1,q 1,...,q k 2,q k 1 +1) is lerly the unique supermin onfigurtion view of the resulting onfigurtion C. By Lemm 1, we otin: Property 2. The onfigurtion C otine y pplying reution 0 in the rigi exlusive onfigurtion C with q 0 > 0 is rigi. Moreover, Wmin C > WC min (in lexiogrphil orer). Algorithm Align performs reution 0 until it rehes rigi exlusive onfigurtion C with supermin onfigurtion view W C min = (0,q 1,...,q k 1 ) (i.e., q 0 = 0). In this se, reution 0 nnot e pplie s otherwise there woul e ollision, tht is, multipliity is rete ut t this stge we wnt to voi it. Therefore reution 1, reution 2 or reution 1 re pplie 8

10 Proeure: reution i Input: Rigi n exlusive onfigurtion C with view W = (q 0,q 1,...,q k 1 ) s seen from root r 1 if i = 1 then 2 if W 1 = W C min then 3 move towrs q 0; 4 else 5 if W k 2 = (W C min) then 6 move towrs q k 1 ; 7 if i = 0 then 8 if W = W C min then 9 move towrs q 0; 10 if i {1,2} then 11 if for some m, W m = Wmin C n m = l i then 12 move towrs q 0; 13 else 14 if for some m, W m = Wmin C n k 1 m = l i then 15 move towrs q k 1 ; Fig. 3. Proeure reution. epening on the onfigurtion C. In prtiulr, reution 1 is pplie if it oes not rete ny symmetry. If q 0 = 0, y performing reution 1 we nnot otin symmetry exept for some prtiulr onfigurtions given in the next lemm. Lemm 2. Let C e rigi exlusive onfigurtion with supermin onfigurtion view W C min = (q 0,q 1,..., q k 1 ), with 2 < k < n 2 n q 0 = 0. Then, the onfigurtion C resulting from the pplition of reution 1 is perioi. Moreover, C is symmetri if n only if the following onitions hol: q i = 0, for eh i = 0,1,...,l 1 1; (1) q l1 = 1; (2) q l = q k 1 ; (3) the sequene q l1 +2,q l1 +3,...q k 2 is symmetri. (4) Proof. By rigiity of C, only one root n perform reution 1 n then C is well efine n mits view W = (q 0,q 1,...,q k 1 ) = (q 0,q 1,...,q l1 1,q l ,...,q k 1 ). IfC is perioi, y Property 1, there must existj > 0 suh tht(q j mo k,q (j+1) mo k,...,q (j+l 1 ) mo k ) = (q 0,q 1,...,q l1 1) = (0,...,0,q l1 1). Note tht, s q l 1 +1 = q l > 0, then j > l Hene, in tht se, the view (q j,...,q k 1,q 0,...,q j 1 ) is view of C stritly smller thn W C min, ontrition. Therefore, C is perioi. If equtions 1 4 hol, then C hs view W = (0,...,0,q l ,q l1 +2,q l1 +3,...q k 2,q l ) whih is symmetri with the xis of symmetry pssing through the mile of the sequenes q 0,q 1,...,q l1 1 n q l1 +2,q l1 +3,...q k 2. We now show the only if sttement. Note tht Conition 1 is lwys stisfie y the hypothesis tht q 0 = 0 n the efinition of l 1. Let us ssume tht C is symmetri n let W = (q 0,q 1,...,q l1 1,q l1 1,q l ,...,q k 1 ) = (0,0,...,0,q l1 1,q l ,...,q k 1 ). 9

11 For the ske of ontrition, let us ssume tht q l1 > 1. Then, sine q l1 q k 1 n q l1 1 > 0, it is esy to hek tht W is the supermin onfigurtion view of C, n W < Wmin C. Hene, q 0 must e the unique supermin of C sine otherwise, supermin intervl ifferent from q 0 woul hve een supermin intervl in C, ontriting the ft tht Wmin C is the supermin minimum view of C. By Lemm 1, sine I C = 1 n C is symmetri, the (unique) xis of symmetry of W psses through the ege orresponing to q 0. However, sine q l1 1 < q k 1, C is not symmetri, ontrition. It follows tht q l1 = 1. In this se, the first l 1 elements of W re 0 n, s efore, this sequene is unique n the possile xis of symmetry of C psses through the mile of suh unique sequene. This implies tht C is symmetri only if q l = q k 1 n tht the sequene q l1 +2,q l1 +3,...,q k 2 is symmetri. It follows tht if W C min oes not stisfy Conitions 1 4, the pplition of reution 1 results in rigi onfigurtion. Otherwise, reution 2 is pplie unless it retes symmetries. The following Lemm 3 shows tht tully, when Conitions 1 4 hol, reution 2 n rete symmetries only for some speifi onfigurtions. For the next lemmt, we nee further nottion. A pttern is the set of possile onfigurtions mitting view tht fulfills some rules efine y string of integer numers n the following symols. Let x e n integer numer: x enotes the repetition of x zero or more times; x + enotes the repetition of x one or more times; x {n} enotes the repetition of x extly n times. Given onfigurtion C we sy tht C elongs to pttern P if it hs view W tht mthes the rules of the pttern. We enote it y W P. As n exmple, the onfigurtion C with view (0,0,0,1,...,1,2,2,...,2) elongs to (0 {3},1,2 + ). Lemm 3. Let C e rigi exlusive onfigurtion with supermin onfigurtion view W C min = (q 0,q 1,..., q k 1 ), suh tht 2 < k < n 2, q 0 = 0, n Conitions 1 4 hol. Then, the onfigurtion C resulting from the pplition of reution 2 is perioi. Moreover, C is symmetri if n only if one of the following onitions hol: W C min (0,1,1+,2); (5) W C min (0{l 1},1,{0 {l 1 1},1} +,0 {l 1 2},1). (6) Proof. By rigiity of C, only one root n perform reution 2 n then C is well efine n mits view W = (q 0,...,q k 1 ) = (q 0,q 1,...,q l2 1,q l ,...,q k 1 ). Beuse C stisfies Conitions 1 4, it is strightforwr to see tht C is perioi. If W C min (0,1,1+,2), y performing reution 2 we otin either W = (0,1,0,3) or W = (0,1,0,2,1,2). In the first se, C is symmetri with the xis of symmetry pssing through the intervls of size 1 n 3. In the seon se, C is symmetri with the xis of symmetry pssing through the single noe of intervl q 1 n either in the mile of the sequene 1 or in the oupie noe whih seprtes the two intervls of size 2. If W C min (0{l 1},1,{0 {l 1 1},1} +,0 {l 1 2},1), y performing reution 2 we otin either W (0 {l 1},1,0 {l 1},1,0 {l 1 2},1,{0 {l 1 1},1},0 {l 1 2},1) orw (0 {l 1},1,0 {l 1},1,0 {l 1 3},1). In oth ses C is symmetri with the xis of symmetry pssing through the single noe of intervl q 1 n either in the mile of the sequene 1,{0 {l 1 1},1} in the first se, or in the mile of the sequene 0 {l 1 3} in the seon se. Let us ssume tht C is symmetri. We prove the only if sttement y se nlysis on q l1 +1. q l1 +1 > 0. Let us first ssume tht l < k 1. The hypothesis q l1 +1 > 0, implies tht l 2 = l n hene, W (0 {l 1},1,q l1 +1 1,q l ,S,q l ), for some sequene S. 10

12 Note tht S my e empty if l 1 +2 = k 2, otherwise we set S = (S,q k 2 ) (where S my e n empty sequene). The possile xis of symmetry nnot pss through the mile of the initil sequene of 0s euse, uner the hypothesis tht q l1 +1 > 0, we hve tht q k 1 = q l > 1 = q l1 n hene q l1 q k 1. Therefore, W ontins susequene (q j,...,q j+l 1 ) = (1,0 {l1} ) where the sequene of l 1 0s is isjoint from the initil sequene of 0s, i.e., l 1 < j n j + l 1 < k 1. If l < j, then the view Wmin C hs to ontin (q j,...,q j+l 1 ) or (q j 1,...,q j+l 1 ) (the seon se ours only if j = l 1 + 2) s susequene isjoint from (q 0,...,q l1 1). This woul onstitute nother supermin, smller thn or equl to the originl one, ontriting the rigiity of C. Therefore, j = l 1 +1 n, thus, q l1 +1 = 1. By similr rguments, we show tht l 1 must e equl to 1. Therefore, W = (0,1,0,q l ,S,q l ), n the xis in C psses through the single noe of q 1 n the mile of sequene S whih thus is symmetri. Hene, q l = q k 1 n, s q l1 +1 = 1 n q k 1 = q l , then q k 1 = 2 n q l1 +2 = 1. Sine sequene S is symmetri, we hve tht q l1 +2+m = q k 1 m, for ll m = 1,2,..., k 1 l Moreover, y Conition 4, q l1 +1+m = q k 1 m, for ll m = 1,2,..., k 1 l As q l1 +2 = 1, this implies tht (q l1 +2,q l1 +3,...q k 2 ) (1 + ). In onlusion, Wmin C (0,1,1,1+,2). If q l1 +1 > 0 n l = k 1, we hve tht Wmin C (0{l1},1,q l1 +1,q l ) n W (0 {l1},1,q l1 +1 1,q l1 +1+2). By similr rguments s ove, C is symmetri only if l 1 = 1 n q l = 0 whih implies tht Wmin C = (0,1,1,2). Summrizing if q l1 +1 > 0 n C is symmetri, then Wmin C (0,1,1+,2). q l1 +1 = 0. In this se q k 1 = q l = 1 n then Wmin C (0{l1},1,0,S,1), where, y Conition 4, S is symmetri sequene. We first show tht the possile xis of symmetry nnot pss through the sequene 0 {l1}. Let W = (q 0,q 1,...,q k 1 ) (0{l1},1,0,S,1), for some sequene S, n note tht q i = q i for ll i {0,1,...,k 1}\{l 2,l 2 +1}. If the xis psses through the sequene 0 {l1}, then the sequene (q l 1 +1,q l 1 +2,...,q k 2 ) = (0,S ) is symmetri. Therefore, sine q l 1 +1 = 0, then q k 2 = 0. Sine q l , it follows tht q k 2 q l 2 +1, tht is j 1 l 2 +1 n then q k 2 = q k 2 = 0. Moreover, sine lso S is symmetri, q l 1 +2 = 0 n l 1 +2 l 2, whih implies tht q l 1 +2 = q l 1 +2 = 0. By iterting these rguments, we hve tht q i = q i = 0 for ll i {l 1 +1,...,k 2} whih implies tht k = n 2, ontrition. Let us ssume tht there is n xis not pssing through the sequene of 0 {l1}. This implies tht W ontins susequene (q j,...,q j+l 1 ) = (1,0 {l1} ) where the sequene of l 1 zeros is isjoint from the initil sequene of zeros, i.e., l 1 < j n j +l 1 < k 1. Three ses my rise: reution 2 retes sequene 0 {l 1+1} (i.e., there ws in W C min sequene 0{l 1} istint from the initil one). In this se, the xis of symmetry of C hs to pss through the mile of the unique sequene 0 {l 1+1}. This implies tht W (0 {l 1},1,0 {l 1+1},1,0 {l 1},S ), where S is symmetri sequene. Therefore, W C min = (0{l 1},1,0 {l 1},1,0 {l 1+1},S ) whih is ontrition to the ft tht W C min is the supermin onfigurtion view s there is sequene of l 1 +1 of zeros. reution 2 retes sequene 0 {l 1} (isjoint from the initil one). Uner this hypothesis, q l2 = 1, either W C min = (0{l 1},1,0 {l 1 1},1,1) or W C min (0{l 1},1,0 l 1 1,1,q l2 +1,S,1) where S is sequene tht my e empty. Beuse W C min stisfies Conitions 1 4, the first se my our only for l 1 = 2, n in tht se, W C min (0{l 1},1,{0 {l 1 1},1} +,0 {l 1 2},1). 11

13 Assume tht Wmin C (0{l1},1,0 l1 1,1,q l2 +1,S,1). In tht se, W (0 {l1},1,0 {l1},q l ,S,1). We first show tht the possile xis of symmetry psses through the mile of the initil susequene (0 {l1},1,0 {l1} ). By ontrition, let us ssume tht the xis of symmetry psses through nother intervl whih implies tht there exists n inex m l 2 +1 suh tht W = W m (see Property 1). However, W < Wmin C while W m > (Wmin C ) m (euse q l2 +1 inrese) n (Wmin C ) m > Wmin C (euse WC min is the unique supermin). Therefore W < W m, ontrition. It follows tht the xis of symmetry psses through the mile of the initil susequene (0 {l1},1,0 {l1} ) n therefore, q l2 +1 = 0 n S is symmetri sequene. Summrizing, W (0 {l1},1,0 {l1},1,s,1) nwmin C (0{l1},1,0 {l1 1},1,0,S,1) = (0 {l1},1,0,0 {l1 2},1,0,S,1), where S is symmetri n, y Conition 4, (0 {l1 2},1,0,S ) is lso symmetri. By the ltter symmetry, we hve tht S ens with (0,1,0 {l1 2} ) n y the former one it follows tht S strts with (0 {l1 2},1,0). By iterting these rguments, we otin S (0 {l1 2},1,0,0 {l1 2},1,0,...,0,1,0 {l1 2},0, 1,0 {l1 2} ) = (0 {l1 2},1,{0 {l1 1},1},0 {l1 2} ) n hene, y plugging S into Wmin C, WC min (0 {l1},1,{0 {l1 1},1} +,0 {l1 2},1). reution 2 oes not rete sequene 0 {x}, for ny x l 1. In this se, the sequene (1,0 {l1} ) is ontine lso in Wmin C. Let m e the position of the first 0 of this sequene in W. Note tht, suh sequene oes not ontin neitherq l2 norq l2 +1. HeneW (0 {l1},1,0,...,q l2 1,q l2 +1+1,...,1,0 {l1},...,1). Moreover W < Wmin C while W m > (Wmin C ) m. Hene W m nnot e equl to W. It follows tht no suh xis of symmetry n exist. In onlusion, if q l1 +1 = 0 n C is symmetri, then W C min (0{l 1},1,{0 {l 1 1},1} +,0 {l 1 2},1). It follows tht we n use reution 2 in ll the onfigurtions whih stisfy Conitions 1 4 ut not Conitions 5 6. The next lemm shows tht in the remining ses we n use reution 1, still ensuring tht the resulting onfigurtion is rigi. Lemm 4. Let C e rigi exlusive onfigurtion with supermin onfigurtion view Wmin C. If either Wmin C (0,1,1,1+,2) or Wmin C (0{l1},1,{0 {l1 1},1} +,0 {l1 2},1), then, the onfigurtion C resulting from the pplition of reution 1 is rigi. Proof. By rigiity of C, only one root n perform reution 1 n then C is well efine. If W C min (0,1,1,1+,2), then C mits view W (0,1,1,1,2,1) whih is lwys rigi. Inee, there is only one intervl of size 0 n only one intervl of size 2 whih implies tht possile xis n pss only through these two intervls. However, the numer of noes etween theses two intervls on one sie is ifferent from tht on the other sie. IfW C min (0{l 1},1,{0 {l 1 1},1} +,0 {l 1 2},1), thenc mits vieww (0 {l 1+1},1,{0 {l 1 1},1} +,0 {l 1 3},1) whih is rigi. Inee, the xis of symmetry n pss only through the mile of the initil sequene 0 {l 1+1} ut the two sies of suh sequene re ifferent. By the ove lemm, it follows tht if we pply reution 1 to supermin onfigurtion view Wmin C fulfilling Conition 5 or 6, the only se in whih the otine onfigurtion n e symmetri is when Wmin C = (0,1,1,2). The orretness of Align then follows from next theorem. 12

14 Theorem 1. Let 2 < k < n 2 roots stning in n n-noe ring n forming rigi exlusive onfigurtion, Algorithm Align eventully termintes hieving onfigurtion C n ll intermeite onfigurtions otine re exlusive n either rigi or suh tht the supermin view is (0,0,2,2). Proof. As Align strts from rigi exlusive onfigurtion, y Lemm 1, there exists unique supermin in the initil onfigurtion. Hene extly one root moves t one time. Moreover, ll the performe movements reue n intervl whih is stritly greter thn 0 n hene the otine onfigurtion is exlusive. First, we ssume tht the initil onfigurtion is not C s. In urrent rigi exlusive onfigurtion C with unique supermin onfigurtion view Wmin C = (q 0,q 1,...,q k 1 ), we prove tht the next move is unique n result in rigi exlusive onfigurtion. If q 0 > 0, the lgorithm performs reution 0. This involves unique root n the resulting onfigurtion is rigi y Property 2. If q 0 = 0, unique root exeutes reution 1 if the resulting onfigurtion is rigi. Otherwise, y Lemm 2, Wmin C stisfies Conitions 1 4. In tht se, unique root exeutes reution 2 if the resulting onfigurtion is rigi. Otherwise, y Lemm 3, Wmin C (0,1,1+,2) or Wmin C (0 {l1},1,{0 {l1 1},1} +,0 {l1 2},1). In this se, unique root exeutes reution 1. By Lemm 4, s the initil onfigurtion is ifferent from C s, this results in rigi onfigurtion. Sine onfigurtion C is the onfigurtion with the smllest supermin onfigurtion view, it only remins to show tht eh movement reues the supermin. Hene, in the following, we show tht eh movement (or eh two movements) of Align reues the supermin. Let us enote y W = (q 0,q 1,...,q k 1 ) the view of the onfigurtion C otine fter the movement. W is the view of C t the sme noe n in the sme iretion s Wmin C. Let WC min e the supermin onfigurtion view of C. If the movement is reution 0, then q 0 = q 0 1 n hene Wmin C W < WC min. If the movement is reution i, i {1,2} then W = (q 0,q 1,...,q li 1,q li +1+1,...,q k 1 ) < Wmin C n therefore WC min W < WC min. If the movement is reution 1 it follows tht Wmin C (0,1,1,1+,2) or Wmin C (0{l1},1,{0 {l1 1},1} +,0 {l1 2},1). In the ltter se, W (0 {l1+1},1,{0 {l1 1},1} +,0 {l1 3},1) n hene Wmin C W < WC min. In the former se, W (0,1,1,1,2,1) n hene W > Wmin C. However, C is rigi n oes not stisfy Conitions 1 4 n hene the movement performe in C is reution 1. Therefore, the onfigurtion C otine fter performing reution 1 on C is W (0,0,2,1,2,1). Therefore, W < Wmin C. Let us now ssume tht the initil onfigurtion is C s. Note tht, this is the only initil onfigurtion with k = 4 n n = 8 whih is rigi n ifferent from C. From C s, reution 1 is performe n the symmetri onfigurtion C suh tht Wmin C = (0,0,2,2) is hieve. The next movement performe is gin reution 1 whih les to C (i.e. Wmin C = (0,0,1,3)) inepenently from the supermin view. In ft, even if onfigurtion C is symmetri, root is unequivolly ientifie s the single root on the xis of symmetry n reution 1 orrespons to moving in n ritrry iretion. In ny se C is hieve. 4 Clering n Exploring ring In this setion, we stuy the exlusive perpetul lering n explortion prolems in the isrete CORDA moel. In etil, we stuy the exlusive perpetul lering n note tht ny lgorithm provie to this respet lso solves the exlusive perpetul explortion n hene in the following we only refer to the lering. 13

15 Let us onsier n n-noe ring (n 3) n tem of 1 k n roots forming rigi n exlusive onfigurtion. In the se, 4 < k < n 3 n n > 9 (or n > 10 if k = 5), we propose n lgorithm tht mkes use of Algorithm Align presente in the previous setion. We then propose speifi lgorithm for the se k = n 3 n n > 9. On the impossiility sie, we show tht for k {1,2,3,n 2,n 1} n n > 3, or for 3 n 9 n k < n, there is no lgorithm tht solves the prolem, even if the initil onfigurtion is rigi. The ses k = 4 n (k = 5,n = 10) re left s open prolems. 4.1 Exlusive perpetul lering Given grph G where ll eges re ontminte, the grph lering prolem onsists in oorinting tem of roots to eventully ler ll eges. The roots oupy the noes of G n root n move long n ege from its urrent position to neighoring noe. An ege is lere when it is trverse y root or if oth its enpoints re simultneously oupie y some roots. However, lere ege is instntneously reontminte if there is pth from one of its enpoint to the enpoint of ontminte ege n no noe of this pth is oupie y some root. This vrint of grph lering is lssilly referre s mixe grph serhing [5]. Motivte y physil onstrints n following [6], we moreover impose the exlusivity onstrint, i.e., noe n e oupie y t most one root. A lering strtegy using 1 k n roots onsists of hoosing set of k noes, the initil positions, n sequene of moves of the roots, sliing the roots long the eges to empty neighors, tht eventully ler ll eges. For instne, there is no lering strtegy tht lers n- noe ring using one root. On the other hn, possile strtegy using two roots is the following: first ple two roots t jent noes u n v, then slie the root t u long the empty noes of the ring until it rehes the other neighor w of v. In this setion, we onsier the grph lering prolem in n-noe rings in the isrete CORDA moel. More preisely, we im t esigning lgorithms tht llow roots to ler n-noe ring strting from ny rigi exlusive onfigurtion. As our lgorithms ensure tht ll met onfigurtions re rigi n exlusive, n s the roots re olivious of the lere eges, the resulting strtegies ler the ring perpetully, i.e., the whole ring is lere infinitely often. Moreover, we stuy the exlusive perpetul explortion. Exlusive perpetul lering n exlusive perpetul explortion re not equivlent. For instne, one root lwys moving lokwise will perpetully explore ring without lering it. On the other hn, the ove lering strtegy using two roots perpetully lers ring (one root is t v n the other one lternte its move from u to w n then from w to u) ut oes not perpetully explore it sine the root t v never moves. The lgorithms we propose in the sequel oth perpetully explore n ler the rings, exlusively. 4.2 Impossiility results In this setion, we show tht for k {1, 2, 3, n 2, n 1} or for n 9, no lgorithm in the isrete CORDA moel llows to ler n n-noe ring using k roots. For these results we o not ssume tht the initil onfigurtions re rigi, tht is the impossiility results hol on stronger moel. We strt with simple result. Lemm 5. For ny n > 2 n for ny exlusive onfigurtion C, there is no lgorithm tht solves the exlusive perpetul lering prolem in n-noe ring using n 1 roots strting from C. 14

16 Proof. In ny onfigurtion with n 1 oupie noes, only two roots my move without violting the exlusivity property: the two roots jent to the empty noe. Sine these two roots hve the sme view of the network, whtever e the lgorithm in the isrete CORDA moel, they re fore y the versry to tke the sme eision. Either they never move n the ring nnot e lere, or oth eie to move to their empty neighor. In the ltter se, their moves n e sheule (ue to the synhroniity) suh tht they ollie, hene violting the exlusivity property. Let us onsier the se of two roots in ring with t lest three noes. Two noes u n v of n n-noe ring re lle imetrl if either n is even n there re two shortest pths etween u n v; or n is o n the length of the two pths from u to v iffer y one. We sy tht two roots oupy imetrl onfigurtion if they oupy two imetrl noes. We show tht ny lgorithm for exlusive perpetul lering on rings with two roots nees to reh onfigurtion where the two roots oupy two imetrl noes. Then, we show tht one the two roots oupy two imetrl noes they nnot rek the symmetry n hene they nnot ler the ring. The next theorem follows. Theorem 2. For ny n > 2 n for ny initil onfigurtion C, there is no lgorithm tht solves the exlusive perpetul grph lering prolem in n-noe ring using k 2 roots strting from C. Proof. Sine there is no strtegy to exlusively n perpetully ler ring using one root, it follows tht t lest two roots re neessry. We first give generl remrks on the lering of ring with two roots, inepenently of the istriute moel of omputtion. Let us ssume only two roots re oupying the noes of n-noe ring, n > 2, ll eges of whih re initilly ontminte. If the two roots never oupy jent noes, then the ring will never e lere. Therefore, onsier the first time tht suh sitution ours. Let u n v e the two neighors oupie y the roots t this step. Then, ll eges ut {u,v} re ontminte t this step. Moreover, for the ring to e eventully lere, there must e lter step suh tht, up to symmetry, the root tht ws oupying v is now t w v n the other root rehes w the neighor of w on the pth etween u n w not ontining v. In prtiulr, this proves tht, t some step of ny lering strtegy of the ring, the two roots re oupying imetrl noes. In wht follows, we show tht no lgorithm in the isrete CORDA moel n ensure the ove properties euse the symmetry nnot e roken when the roots pss through imetrl noes. This will prove the theorem. It is worth noting tht in symmetri onfigurtions, ny root llowe to move either resies on the xis of symmetry or it mits symmetri root lso llowe to move. If n lgorithm llows to move two symmetri roots, it might hppen tht while one root moves, its symmetri one hs only performe its Look phse. This results in possile pening move, tht is, the symmetri root will perform the sheule move, eventully. We onsier n versril sheuler tht lwys lterntes the moves of the two roots until it rehes imetrl onfigurtion for the first time. Tht is, it first mkes one root o its Look-Compute-Move yle, n then o the sme with the seon root, n so on. By the ove remrks, if imetrl onfigurtion is never rehe, then the ring nnot e lere. Moreover, when imetrl onfigurtion is rehe, then there re no pening moves. Now there re two ses epening on the prity of n. In wht follows, the roots lwys re in imetrl onfigurtion. Therefore, whtever e the lgorithm use, oth roots re fore to move when they look suh onfigurtion. 15

17 Assume first tht n is even. Then, sine there re no pening moves, the versril sheuler n synhronize the two roots suh tht fter their respetive moves the onfigurtion hs not hnge n there still re no pening moves. Inee, the two roots look n eie efore ny move n then oth of them move efore the next look. Going on this wy, the roots remin in imetrl onfigurtion n the ring nnot e ler. Now onsier the se when n is o. Consier the pth etween the two roots with n o numer of noes n let v e the noe on this pth t sme istne from oth roots. Then, the versril sheuler mkes the two roots o their Look-Compute tions n then their Move tion. Sine they re in symmetril onfigurtion (with xis pssing through v), they move symmetrilly. Doing so, fter eh move of oth roots, i.e., eh time they re looking, the noe v remins t equl istne from oth roots. Therefore, it nnot e rehe unless oth roots ollie in it. Hene, the ring nnot e lere. Let us now onsier the se of three roots in ring with t lest four noes. For ese of presenttion, we give ientifiers to the roots. Of ourse, the roots re nonymous in the sense tht they re not wre of these ientifiers n tht no lgorithm for lering the ring n mke use of them. However, the versril sheuler will use them. Hene, let us ll the three roots y r,r n r. At ny step s, we enote y ist s (x,y) the istne (i.e., the numer of onseutive eges) etween the noes oupie y roots x n y t this step (if there is no miguity, the susript will e omitte). Let C e the onfigurtion where the three roots oupy three onseutive noes. Given ny lgorithm Alg for exlusively n perpetully lering ring with 3 roots, we sy tht onfigurtion C is if, in this onfigurtion, ist(r,r ) ist(r,r ) n there exists root suh tht, if this root exeutes Alg in onfigurtion C, then the onfigurtion rehe fter its move is suh tht ist(r,r ) > ist(r,r ). In wht follows, we show tht ny lgorithm for exlusively n perpetully lering ring with three roots must lwys voi the onfigurtion C. Then, we show tht suh n lgorithm nnot voi to reh onfigurtion. Finlly, we show tht from ny onfigurtion, it is possile to sheule the three roots suh tht either they reh the onfigurtion C, or (1) eh root is sheule t lest one; (2) this rehes onfigurtion suh tht ist(r,r ) ist(r,r ) n r hs een jent to r in the mentime; n (3) if the new onfigurtion is not C, then from this new onfigurtion, Alg will reh nother onfigurtion efore r is jent to r. Sine ny lgorithm for exlusively n perpetully lering the ring must ensure tht r is infinitely mny times jent to r, this proves tht suh n lgorithm nnot exist. Theorem 3. For ny n > 3 n for ny initil onfigurtion C, there is no lgorithm tht solves the exlusive perpetul grph lering prolem in n-noe ring using 3 roots strting from C. Proof. First, if n = 4, the single noe tht is not oupie nnot e rehe without ollision. Therefore, let us ssume tht n > 4. For purpose of ontrition, let us onsier ny lgorithm Alg tht exlusively n perpetully lers the ring with 3 roots. Let us onsier the perioi infinite sequene S of moves of the roots following Alg, sujet to sheuler tht lternte the roots, i.e., first r mkes its Look-Compute- Move tions, then r, then r n so on. The gol of onsiering suh sheuler is to e le to nlyze the ehvior of Alg in some prtiulr onfigurtions (without pening moves). Then, tking use of more lever sheuler, Alg n fil. There re two ses to e onsiere. Cse 1. Let us first ssume tht S ontins the onfigurtion C where the three roots re oupying three onseutive noes. Consiering the moves just efore n just fter this onfigurtion, we 16

CS 491G Combinatorial Optimization Lecture Notes

CS 491G Combinatorial Optimization Lecture Notes CS 491G Comintoril Optimiztion Leture Notes Dvi Owen July 30, August 1 1 Mthings Figure 1: two possile mthings in simple grph. Definition 1 Given grph G = V, E, mthing is olletion of eges M suh tht e i,

More information

Counting Paths Between Vertices. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs

Counting Paths Between Vertices. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs Isomorphism of Grphs Definition The simple grphs G 1 = (V 1, E 1 ) n G = (V, E ) re isomorphi if there is ijetion (n oneto-one n onto funtion) f from V 1 to V with the property tht n re jent in G 1 if

More information

Lecture 6: Coding theory

Lecture 6: Coding theory Leture 6: Coing theory Biology 429 Crl Bergstrom Ferury 4, 2008 Soures: This leture loosely follows Cover n Thoms Chpter 5 n Yeung Chpter 3. As usul, some of the text n equtions re tken iretly from those

More information

Mid-Term Examination - Spring 2014 Mathematical Programming with Applications to Economics Total Score: 45; Time: 3 hours

Mid-Term Examination - Spring 2014 Mathematical Programming with Applications to Economics Total Score: 45; Time: 3 hours Mi-Term Exmintion - Spring 0 Mthemtil Progrmming with Applitions to Eonomis Totl Sore: 5; Time: hours. Let G = (N, E) e irete grph. Define the inegree of vertex i N s the numer of eges tht re oming into

More information

Solutions for HW9. Bipartite: put the red vertices in V 1 and the black in V 2. Not bipartite!

Solutions for HW9. Bipartite: put the red vertices in V 1 and the black in V 2. Not bipartite! Solutions for HW9 Exerise 28. () Drw C 6, W 6 K 6, n K 5,3. C 6 : W 6 : K 6 : K 5,3 : () Whih of the following re iprtite? Justify your nswer. Biprtite: put the re verties in V 1 n the lk in V 2. Biprtite:

More information

CIT 596 Theory of Computation 1. Graphs and Digraphs

CIT 596 Theory of Computation 1. Graphs and Digraphs CIT 596 Theory of Computtion 1 A grph G = (V (G), E(G)) onsists of two finite sets: V (G), the vertex set of the grph, often enote y just V, whih is nonempty set of elements lle verties, n E(G), the ege

More information

1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides.

1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides. 1 PYTHAGORAS THEOREM 1 1 Pythgors Theorem In this setion we will present geometri proof of the fmous theorem of Pythgors. Given right ngled tringle, the squre of the hypotenuse is equl to the sum of the

More information

22: Union Find. CS 473u - Algorithms - Spring April 14, We want to maintain a collection of sets, under the operations of:

22: Union Find. CS 473u - Algorithms - Spring April 14, We want to maintain a collection of sets, under the operations of: 22: Union Fin CS 473u - Algorithms - Spring 2005 April 14, 2005 1 Union-Fin We wnt to mintin olletion of sets, uner the opertions of: 1. MkeSet(x) - rete set tht ontins the single element x. 2. Fin(x)

More information

CS261: A Second Course in Algorithms Lecture #5: Minimum-Cost Bipartite Matching

CS261: A Second Course in Algorithms Lecture #5: Minimum-Cost Bipartite Matching CS261: A Seon Course in Algorithms Leture #5: Minimum-Cost Biprtite Mthing Tim Roughgren Jnury 19, 2016 1 Preliminries Figure 1: Exmple of iprtite grph. The eges {, } n {, } onstitute mthing. Lst leture

More information

6.5 Improper integrals

6.5 Improper integrals Eerpt from "Clulus" 3 AoPS In. www.rtofprolemsolving.om 6.5. IMPROPER INTEGRALS 6.5 Improper integrls As we ve seen, we use the definite integrl R f to ompute the re of the region under the grph of y =

More information

I 3 2 = I I 4 = 2A

I 3 2 = I I 4 = 2A ECE 210 Eletril Ciruit Anlysis University of llinois t Chigo 2.13 We re ske to use KCL to fin urrents 1 4. The key point in pplying KCL in this prolem is to strt with noe where only one of the urrents

More information

CS 2204 DIGITAL LOGIC & STATE MACHINE DESIGN SPRING 2014

CS 2204 DIGITAL LOGIC & STATE MACHINE DESIGN SPRING 2014 S 224 DIGITAL LOGI & STATE MAHINE DESIGN SPRING 214 DUE : Mrh 27, 214 HOMEWORK III READ : Relte portions of hpters VII n VIII ASSIGNMENT : There re three questions. Solve ll homework n exm prolems s shown

More information

The DOACROSS statement

The DOACROSS statement The DOACROSS sttement Is prllel loop similr to DOALL, ut it llows prouer-onsumer type of synhroniztion. Synhroniztion is llowe from lower to higher itertions sine it is ssume tht lower itertions re selete

More information

Lecture 2: Cayley Graphs

Lecture 2: Cayley Graphs Mth 137B Professor: Pri Brtlett Leture 2: Cyley Grphs Week 3 UCSB 2014 (Relevnt soure mteril: Setion VIII.1 of Bollos s Moern Grph Theory; 3.7 of Gosil n Royle s Algeri Grph Theory; vrious ppers I ve re

More information

p-adic Egyptian Fractions

p-adic Egyptian Fractions p-adic Egyptin Frctions Contents 1 Introduction 1 2 Trditionl Egyptin Frctions nd Greedy Algorithm 2 3 Set-up 3 4 p-greedy Algorithm 5 5 p-egyptin Trditionl 10 6 Conclusion 1 Introduction An Egyptin frction

More information

Project 6: Minigoals Towards Simplifying and Rewriting Expressions

Project 6: Minigoals Towards Simplifying and Rewriting Expressions MAT 51 Wldis Projet 6: Minigols Towrds Simplifying nd Rewriting Expressions The distriutive property nd like terms You hve proly lerned in previous lsses out dding like terms ut one prolem with the wy

More information

18.06 Problem Set 4 Due Wednesday, Oct. 11, 2006 at 4:00 p.m. in 2-106

18.06 Problem Set 4 Due Wednesday, Oct. 11, 2006 at 4:00 p.m. in 2-106 8. Problem Set Due Wenesy, Ot., t : p.m. in - Problem Mony / Consier the eight vetors 5, 5, 5,..., () List ll of the one-element, linerly epenent sets forme from these. (b) Wht re the two-element, linerly

More information

Lecture 8: Abstract Algebra

Lecture 8: Abstract Algebra Mth 94 Professor: Pri Brtlett Leture 8: Astrt Alger Week 8 UCSB 2015 This is the eighth week of the Mthemtis Sujet Test GRE prep ourse; here, we run very rough-n-tumle review of strt lger! As lwys, this

More information

Numbers and indices. 1.1 Fractions. GCSE C Example 1. Handy hint. Key point

Numbers and indices. 1.1 Fractions. GCSE C Example 1. Handy hint. Key point GCSE C Emple 7 Work out 9 Give your nswer in its simplest form Numers n inies Reiprote mens invert or turn upsie own The reiprol of is 9 9 Mke sure you only invert the frtion you re iviing y 7 You multiply

More information

Data Structures LECTURE 10. Huffman coding. Example. Coding: problem definition

Data Structures LECTURE 10. Huffman coding. Example. Coding: problem definition Dt Strutures, Spring 24 L. Joskowiz Dt Strutures LEURE Humn oing Motivtion Uniquel eipherle oes Prei oes Humn oe onstrution Etensions n pplitions hpter 6.3 pp 385 392 in tetook Motivtion Suppose we wnt

More information

POSITIVE IMPLICATIVE AND ASSOCIATIVE FILTERS OF LATTICE IMPLICATION ALGEBRAS

POSITIVE IMPLICATIVE AND ASSOCIATIVE FILTERS OF LATTICE IMPLICATION ALGEBRAS Bull. Koren Mth. So. 35 (998), No., pp. 53 6 POSITIVE IMPLICATIVE AND ASSOCIATIVE FILTERS OF LATTICE IMPLICATION ALGEBRAS YOUNG BAE JUN*, YANG XU AND KEYUN QIN ABSTRACT. We introue the onepts of positive

More information

Solutions to Problem Set #1

Solutions to Problem Set #1 CSE 233 Spring, 2016 Solutions to Prolem Set #1 1. The movie tse onsists of the following two reltions movie: title, iretor, tor sheule: theter, title The first reltion provies titles, iretors, n tors

More information

A Lower Bound for the Length of a Partial Transversal in a Latin Square, Revised Version

A Lower Bound for the Length of a Partial Transversal in a Latin Square, Revised Version A Lower Bound for the Length of Prtil Trnsversl in Ltin Squre, Revised Version Pooy Htmi nd Peter W. Shor Deprtment of Mthemtil Sienes, Shrif University of Tehnology, P.O.Bo 11365-9415, Tehrn, Irn Deprtment

More information

Maximum size of a minimum watching system and the graphs achieving the bound

Maximum size of a minimum watching system and the graphs achieving the bound Mximum size of minimum wthing system n the grphs hieving the oun Tille mximum un système e ontrôle minimum et les grphes tteignnt l orne Dvi Auger Irène Chron Olivier Hury Antoine Lostein 00D0 Mrs 00 Déprtement

More information

Section 2.3. Matrix Inverses

Section 2.3. Matrix Inverses Mtri lger Mtri nverses Setion.. Mtri nverses hree si opertions on mtries, ition, multiplition, n sutrtion, re nlogues for mtries of the sme opertions for numers. n this setion we introue the mtri nlogue

More information

CARLETON UNIVERSITY. 1.0 Problems and Most Solutions, Sect B, 2005

CARLETON UNIVERSITY. 1.0 Problems and Most Solutions, Sect B, 2005 RLETON UNIVERSIT eprtment of Eletronis ELE 2607 Swithing iruits erury 28, 05; 0 pm.0 Prolems n Most Solutions, Set, 2005 Jn. 2, #8 n #0; Simplify, Prove Prolem. #8 Simplify + + + Reue to four letters (literls).

More information

Lecture 4: Graph Theory and the Four-Color Theorem

Lecture 4: Graph Theory and the Four-Color Theorem CCS Disrete II Professor: Pri Brtlett Leture 4: Grph Theory n the Four-Color Theorem Week 4 UCSB 2015 Through the rest of this lss, we re going to refer frequently to things lle grphs! If you hen t seen

More information

Introduction to Olympiad Inequalities

Introduction to Olympiad Inequalities Introdution to Olympid Inequlities Edutionl Studies Progrm HSSP Msshusetts Institute of Tehnology Snj Simonovikj Spring 207 Contents Wrm up nd Am-Gm inequlity 2. Elementry inequlities......................

More information

Necessary and sucient conditions for some two. Abstract. Further we show that the necessary conditions for the existence of an OD(44 s 1 s 2 )

Necessary and sucient conditions for some two. Abstract. Further we show that the necessary conditions for the existence of an OD(44 s 1 s 2 ) Neessry n suient onitions for some two vrile orthogonl esigns in orer 44 C. Koukouvinos, M. Mitrouli y, n Jennifer Seerry z Deite to Professor Anne Penfol Street Astrt We give new lgorithm whih llows us

More information

Aperiodic tilings and substitutions

Aperiodic tilings and substitutions Aperioi tilings n sustitutions Niols Ollinger LIFO, Université Orléns Journées SDA2, Amiens June 12th, 2013 The Domino Prolem (DP) Assume we re given finite set of squre pltes of the sme size with eges

More information

Surds and Indices. Surds and Indices. Curriculum Ready ACMNA: 233,

Surds and Indices. Surds and Indices. Curriculum Ready ACMNA: 233, Surs n Inies Surs n Inies Curriulum Rey ACMNA:, 6 www.mthletis.om Surs SURDS & & Inies INDICES Inies n surs re very losely relte. A numer uner (squre root sign) is lle sur if the squre root n t e simplifie.

More information

On a Class of Planar Graphs with Straight-Line Grid Drawings on Linear Area

On a Class of Planar Graphs with Straight-Line Grid Drawings on Linear Area Journl of Grph Algorithms n Applitions http://jg.info/ vol. 13, no. 2, pp. 153 177 (2009) On Clss of Plnr Grphs with Stright-Line Gri Drwings on Liner Are M. Rezul Krim 1,2 M. Siur Rhmn 1 1 Deprtment of

More information

Now we must transform the original model so we can use the new parameters. = S max. Recruits

Now we must transform the original model so we can use the new parameters. = S max. Recruits MODEL FOR VARIABLE RECRUITMENT (ontinue) Alterntive Prmeteriztions of the pwner-reruit Moels We n write ny moel in numerous ifferent ut equivlent forms. Uner ertin irumstnes it is onvenient to work with

More information

2.4 Theoretical Foundations

2.4 Theoretical Foundations 2 Progrmming Lnguge Syntx 2.4 Theoretil Fountions As note in the min text, snners n prsers re se on the finite utomt n pushown utomt tht form the ottom two levels of the Chomsky lnguge hierrhy. At eh level

More information

Common intervals of genomes. Mathieu Raffinot CNRS LIAFA

Common intervals of genomes. Mathieu Raffinot CNRS LIAFA Common intervls of genomes Mthieu Rffinot CNRS LIF Context: omprtive genomis. set of genomes prtilly/totlly nnotte Informtive group of genes or omins? Ex: COG tse Mny iffiulties! iology Wht re two similr

More information

Chapter 4 State-Space Planning

Chapter 4 State-Space Planning Leture slides for Automted Plnning: Theory nd Prtie Chpter 4 Stte-Spe Plnning Dn S. Nu CMSC 722, AI Plnning University of Mrylnd, Spring 2008 1 Motivtion Nerly ll plnning proedures re serh proedures Different

More information

NON-DETERMINISTIC FSA

NON-DETERMINISTIC FSA Tw o types of non-determinism: NON-DETERMINISTIC FS () Multiple strt-sttes; strt-sttes S Q. The lnguge L(M) ={x:x tkes M from some strt-stte to some finl-stte nd ll of x is proessed}. The string x = is

More information

CSE 332. Sorting. Data Abstractions. CSE 332: Data Abstractions. QuickSort Cutoff 1. Where We Are 2. Bounding The MAXIMUM Problem 4

CSE 332. Sorting. Data Abstractions. CSE 332: Data Abstractions. QuickSort Cutoff 1. Where We Are 2. Bounding The MAXIMUM Problem 4 Am Blnk Leture 13 Winter 2016 CSE 332 CSE 332: Dt Astrtions Sorting Dt Astrtions QuikSort Cutoff 1 Where We Are 2 For smll n, the reursion is wste. The onstnts on quik/merge sort re higher thn the ones

More information

CS 573 Automata Theory and Formal Languages

CS 573 Automata Theory and Formal Languages Non-determinism Automt Theory nd Forml Lnguges Professor Leslie Lnder Leture # 3 Septemer 6, 2 To hieve our gol, we need the onept of Non-deterministi Finite Automton with -moves (NFA) An NFA is tuple

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design nd Anlysis LECTURE 5 Supplement Greedy Algorithms Cont d Minimizing lteness Ching (NOT overed in leture) Adm Smith 9/8/10 A. Smith; sed on slides y E. Demine, C. Leiserson, S. Rskhodnikov,

More information

Arrow s Impossibility Theorem

Arrow s Impossibility Theorem Rep Voting Prdoxes Properties Arrow s Theorem Arrow s Impossiility Theorem Leture 12 Arrow s Impossiility Theorem Leture 12, Slide 1 Rep Voting Prdoxes Properties Arrow s Theorem Leture Overview 1 Rep

More information

Automata and Regular Languages

Automata and Regular Languages Chpter 9 Automt n Regulr Lnguges 9. Introution This hpter looks t mthemtil moels of omputtion n lnguges tht esrie them. The moel-lnguge reltionship hs multiple levels. We shll explore the simplest level,

More information

Separable discrete functions: recognition and sufficient conditions

Separable discrete functions: recognition and sufficient conditions Seprle isrete funtions: reognition n suffiient onitions Enre Boros Onřej Čepek Vlimir Gurvih Novemer 21, 217 rxiv:1711.6772v1 [mth.co] 17 Nov 217 Astrt A isrete funtion of n vriles is mpping g : X 1...

More information

Part 4. Integration (with Proofs)

Part 4. Integration (with Proofs) Prt 4. Integrtion (with Proofs) 4.1 Definition Definition A prtition P of [, b] is finite set of points {x 0, x 1,..., x n } with = x 0 < x 1

More information

Logic, Set Theory and Computability [M. Coppenbarger]

Logic, Set Theory and Computability [M. Coppenbarger] 14 Orer (Hnout) Definition 7-11: A reltion is qusi-orering (or preorer) if it is reflexive n trnsitive. A quisi-orering tht is symmetri is n equivlene reltion. A qusi-orering tht is nti-symmetri is n orer

More information

Section 2.1 Special Right Triangles

Section 2.1 Special Right Triangles Se..1 Speil Rigt Tringles 49 Te --90 Tringle Setion.1 Speil Rigt Tringles Te --90 tringle (or just 0-60-90) is so nme euse of its ngle mesures. Te lengts of te sies, toug, ve very speifi pttern to tem

More information

Monochromatic Plane Matchings in Bicolored Point Set

Monochromatic Plane Matchings in Bicolored Point Set CCCG 2017, Ottw, Ontrio, July 26 28, 2017 Monohromti Plne Mthings in Biolore Point Set A. Krim Au-Affsh Sujoy Bhore Pz Crmi Astrt Motivte y networks interply, we stuy the prolem of omputing monohromti

More information

arxiv: v2 [math.co] 31 Oct 2016

arxiv: v2 [math.co] 31 Oct 2016 On exlue minors of onnetivity 2 for the lss of frme mtrois rxiv:1502.06896v2 [mth.co] 31 Ot 2016 Mtt DeVos Dryl Funk Irene Pivotto Astrt We investigte the set of exlue minors of onnetivity 2 for the lss

More information

Algorithms & Data Structures Homework 8 HS 18 Exercise Class (Room & TA): Submitted by: Peer Feedback by: Points:

Algorithms & Data Structures Homework 8 HS 18 Exercise Class (Room & TA): Submitted by: Peer Feedback by: Points: Eidgenössishe Tehnishe Hohshule Zürih Eole polytehnique fédérle de Zurih Politenio federle di Zurigo Federl Institute of Tehnology t Zurih Deprtement of Computer Siene. Novemer 0 Mrkus Püshel, Dvid Steurer

More information

Subsequence Automata with Default Transitions

Subsequence Automata with Default Transitions Susequene Automt with Defult Trnsitions Philip Bille, Inge Li Gørtz, n Freerik Rye Skjoljensen Tehnil University of Denmrk {phi,inge,fskj}@tu.k Astrt. Let S e string of length n with hrters from n lphet

More information

CHEM1611 Answers to Problem Sheet 9

CHEM1611 Answers to Problem Sheet 9 CEM1611 Answers to Prolem Sheet 9 1. Tutomers re struturl isomers whih re relte y migrtion of hyrogen tom n the exhnge of single on n jent oule on. Compoun Tutomer 2 2 2 2 2 2 2 2 2 2 2 2. () Whih pir

More information

Compression of Palindromes and Regularity.

Compression of Palindromes and Regularity. Compression of Plinromes n Regulrity. Kyoko Shikishim-Tsuji Center for Lierl Arts Eution n Reserh Tenri University 1 Introution In [1], property of likstrem t t view of tse is isusse n it is shown tht

More information

2.4 Linear Inequalities and Interval Notation

2.4 Linear Inequalities and Interval Notation .4 Liner Inequlities nd Intervl Nottion We wnt to solve equtions tht hve n inequlity symol insted of n equl sign. There re four inequlity symols tht we will look t: Less thn , Less thn or

More information

CS311 Computational Structures Regular Languages and Regular Grammars. Lecture 6

CS311 Computational Structures Regular Languages and Regular Grammars. Lecture 6 CS311 Computtionl Strutures Regulr Lnguges nd Regulr Grmmrs Leture 6 1 Wht we know so fr: RLs re losed under produt, union nd * Every RL n e written s RE, nd every RE represents RL Every RL n e reognized

More information

Farey Fractions. Rickard Fernström. U.U.D.M. Project Report 2017:24. Department of Mathematics Uppsala University

Farey Fractions. Rickard Fernström. U.U.D.M. Project Report 2017:24. Department of Mathematics Uppsala University U.U.D.M. Project Report 07:4 Frey Frctions Rickrd Fernström Exmensrete i mtemtik, 5 hp Hledre: Andres Strömergsson Exmintor: Jörgen Östensson Juni 07 Deprtment of Mthemtics Uppsl University Frey Frctions

More information

Graph Theory. Simple Graph G = (V, E). V={a,b,c,d,e,f,g,h,k} E={(a,b),(a,g),( a,h),(a,k),(b,c),(b,k),...,(h,k)}

Graph Theory. Simple Graph G = (V, E). V={a,b,c,d,e,f,g,h,k} E={(a,b),(a,g),( a,h),(a,k),(b,c),(b,k),...,(h,k)} Grph Theory Simple Grph G = (V, E). V ={verties}, E={eges}. h k g f e V={,,,,e,f,g,h,k} E={(,),(,g),(,h),(,k),(,),(,k),...,(h,k)} E =16. 1 Grph or Multi-Grph We llow loops n multiple eges. G = (V, E.ψ)

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design nd Anlysis LECTURE 8 Mx. lteness ont d Optiml Ching Adm Smith 9/12/2008 A. Smith; sed on slides y E. Demine, C. Leiserson, S. Rskhodnikov, K. Wyne Sheduling to Minimizing Lteness Minimizing

More information

A Primer on Continuous-time Economic Dynamics

A Primer on Continuous-time Economic Dynamics Eonomis 205A Fll 2008 K Kletzer A Primer on Continuous-time Eonomi Dnmis A Liner Differentil Eqution Sstems (i) Simplest se We egin with the simple liner first-orer ifferentil eqution The generl solution

More information

CS 360 Exam 2 Fall 2014 Name

CS 360 Exam 2 Fall 2014 Name CS 360 Exm 2 Fll 2014 Nme 1. The lsses shown elow efine singly-linke list n stk. Write three ifferent O(n)-time versions of the reverse_print metho s speifie elow. Eh version of the metho shoul output

More information

Coalgebra, Lecture 15: Equations for Deterministic Automata

Coalgebra, Lecture 15: Equations for Deterministic Automata Colger, Lecture 15: Equtions for Deterministic Automt Julin Slmnc (nd Jurrin Rot) Decemer 19, 2016 In this lecture, we will study the concept of equtions for deterministic utomt. The notes re self contined

More information

for all x in [a,b], then the area of the region bounded by the graphs of f and g and the vertical lines x = a and x = b is b [ ( ) ( )] A= f x g x dx

for all x in [a,b], then the area of the region bounded by the graphs of f and g and the vertical lines x = a and x = b is b [ ( ) ( )] A= f x g x dx Applitions of Integrtion Are of Region Between Two Curves Ojetive: Fin the re of region etween two urves using integrtion. Fin the re of region etween interseting urves using integrtion. Desrie integrtion

More information

Graph Algorithms. Vertex set = { a,b,c,d } Edge set = { {a,c}, {b,c}, {c,d}, {b,d}} Figure 1: An example for a simple graph

Graph Algorithms. Vertex set = { a,b,c,d } Edge set = { {a,c}, {b,c}, {c,d}, {b,d}} Figure 1: An example for a simple graph Inin Institute of Informtion Tehnology Design n Mnufturing, Knheepurm, Chenni 00, Ini An Autonomous Institute uner MHRD, Govt of Ini http://www.iiitm..in COM 0T Design n Anlysis of Algorithms -Leture Notes

More information

Factorising FACTORISING.

Factorising FACTORISING. Ftorising FACTORISING www.mthletis.om.u Ftorising FACTORISING Ftorising is the opposite of expning. It is the proess of putting expressions into rkets rther thn expning them out. In this setion you will

More information

Discrete Structures Lecture 11

Discrete Structures Lecture 11 Introdution Good morning. In this setion we study funtions. A funtion is mpping from one set to nother set or, perhps, from one set to itself. We study the properties of funtions. A mpping my not e funtion.

More information

Intermediate Math Circles Wednesday, November 14, 2018 Finite Automata II. Nickolas Rollick a b b. a b 4

Intermediate Math Circles Wednesday, November 14, 2018 Finite Automata II. Nickolas Rollick a b b. a b 4 Intermedite Mth Circles Wednesdy, Novemer 14, 2018 Finite Automt II Nickols Rollick nrollick@uwterloo.c Regulr Lnguges Lst time, we were introduced to the ide of DFA (deterministic finite utomton), one

More information

F / x everywhere in some domain containing R. Then, + ). (10.4.1)

F / x everywhere in some domain containing R. Then, + ). (10.4.1) 0.4 Green's theorem in the plne Double integrls over plne region my be trnsforme into line integrls over the bounry of the region n onversely. This is of prtil interest beuse it my simplify the evlution

More information

Analysis of Temporal Interactions with Link Streams and Stream Graphs

Analysis of Temporal Interactions with Link Streams and Stream Graphs Anlysis of Temporl Intertions with n Strem Grphs, Tiphine Vir, Clémene Mgnien http:// ltpy@ LIP6 CNRS n Soronne Université Pris, Frne 1/23 intertions over time 0 2 4 6 8,,, n for 10 time units time 2/23

More information

Momentum and Energy Review

Momentum and Energy Review Momentum n Energy Review Nme: Dte: 1. A 0.0600-kilogrm ll trveling t 60.0 meters per seon hits onrete wll. Wht spee must 0.0100-kilogrm ullet hve in orer to hit the wll with the sme mgnitue of momentum

More information

Lecture 11 Binary Decision Diagrams (BDDs)

Lecture 11 Binary Decision Diagrams (BDDs) C 474A/57A Computer-Aie Logi Design Leture Binry Deision Digrms (BDDs) C 474/575 Susn Lyseky o 3 Boolen Logi untions Representtions untion n e represente in ierent wys ruth tle, eqution, K-mp, iruit, et

More information

APPENDIX. Precalculus Review D.1. Real Numbers and the Real Number Line

APPENDIX. Precalculus Review D.1. Real Numbers and the Real Number Line APPENDIX D Preclculus Review APPENDIX D.1 Rel Numers n the Rel Numer Line Rel Numers n the Rel Numer Line Orer n Inequlities Asolute Vlue n Distnce Rel Numers n the Rel Numer Line Rel numers cn e represente

More information

Behavior Composition in the Presence of Failure

Behavior Composition in the Presence of Failure Behvior Composition in the Presene of Filure Sestin Srdin RMIT University, Melourne, Austrli Fio Ptrizi & Giuseppe De Giomo Spienz Univ. Rom, Itly KR 08, Sept. 2008, Sydney Austrli Introdution There re

More information

set is not closed under matrix [ multiplication, ] and does not form a group.

set is not closed under matrix [ multiplication, ] and does not form a group. Prolem 2.3: Which of the following collections of 2 2 mtrices with rel entries form groups under [ mtrix ] multipliction? i) Those of the form for which c d 2 Answer: The set of such mtrices is not closed

More information

Section 1.3 Triangles

Section 1.3 Triangles Se 1.3 Tringles 21 Setion 1.3 Tringles LELING TRINGLE The line segments tht form tringle re lled the sides of the tringle. Eh pir of sides forms n ngle, lled n interior ngle, nd eh tringle hs three interior

More information

Minimal DFA. minimal DFA for L starting from any other

Minimal DFA. minimal DFA for L starting from any other Miniml DFA Among the mny DFAs ccepting the sme regulr lnguge L, there is exctly one (up to renming of sttes) which hs the smllest possile numer of sttes. Moreover, it is possile to otin tht miniml DFA

More information

System Validation (IN4387) November 2, 2012, 14:00-17:00

System Validation (IN4387) November 2, 2012, 14:00-17:00 System Vlidtion (IN4387) Novemer 2, 2012, 14:00-17:00 Importnt Notes. The exmintion omprises 5 question in 4 pges. Give omplete explntion nd do not onfine yourself to giving the finl nswer. Good luk! Exerise

More information

SOME INTEGRAL INEQUALITIES FOR HARMONICALLY CONVEX STOCHASTIC PROCESSES ON THE CO-ORDINATES

SOME INTEGRAL INEQUALITIES FOR HARMONICALLY CONVEX STOCHASTIC PROCESSES ON THE CO-ORDINATES Avne Mth Moels & Applitions Vol3 No 8 pp63-75 SOME INTEGRAL INEQUALITIES FOR HARMONICALLY CONVE STOCHASTIC PROCESSES ON THE CO-ORDINATES Nurgül Okur * Imt Işn Yusuf Ust 3 3 Giresun University Deprtment

More information

Laboratory for Foundations of Computer Science. An Unfolding Approach. University of Edinburgh. Model Checking. Javier Esparza

Laboratory for Foundations of Computer Science. An Unfolding Approach. University of Edinburgh. Model Checking. Javier Esparza An Unfoling Approh to Moel Cheking Jvier Esprz Lbortory for Fountions of Computer Siene University of Einburgh Conurrent progrms Progrm: tuple P T 1 T n of finite lbelle trnsition systems T i A i S i i

More information

Let s divide up the interval [ ab, ] into n subintervals with the same length, so we have

Let s divide up the interval [ ab, ] into n subintervals with the same length, so we have III. INTEGRATION Eonomists seem muh more intereste in mrginl effets n ifferentition thn in integrtion. Integrtion is importnt for fining the epete vlue n vrine of rnom vriles, whih is use in eonometris

More information

The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 2 MODULE, SPRING SEMESTER MACHINES AND THEIR LANGUAGES ANSWERS

The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 2 MODULE, SPRING SEMESTER MACHINES AND THEIR LANGUAGES ANSWERS The University of ottinghm SCHOOL OF COMPUTR SCIC A LVL 2 MODUL, SPRIG SMSTR 2015 2016 MACHIS AD THIR LAGUAGS ASWRS Time llowed TWO hours Cndidtes my omplete the front over of their nswer ook nd sign their

More information

Bases for Vector Spaces

Bases for Vector Spaces Bses for Vector Spces 2-26-25 A set is independent if, roughly speking, there is no redundncy in the set: You cn t uild ny vector in the set s liner comintion of the others A set spns if you cn uild everything

More information

CSC2542 State-Space Planning

CSC2542 State-Space Planning CSC2542 Stte-Spe Plnning Sheil MIlrith Deprtment of Computer Siene University of Toronto Fll 2010 1 Aknowlegements Some the slies use in this ourse re moifitions of Dn Nu s leture slies for the textook

More information

arxiv: v1 [cs.dm] 24 Jul 2017

arxiv: v1 [cs.dm] 24 Jul 2017 Some lsses of grphs tht re not PCGs 1 rxiv:1707.07436v1 [s.dm] 24 Jul 2017 Pierluigi Biohi Angelo Monti Tizin Clmoneri Rossell Petreshi Computer Siene Deprtment, Spienz University of Rome, Itly pierluigi.iohi@gmil.om,

More information

Arrow s Impossibility Theorem

Arrow s Impossibility Theorem Rep Fun Gme Properties Arrow s Theorem Arrow s Impossiility Theorem Leture 12 Arrow s Impossiility Theorem Leture 12, Slide 1 Rep Fun Gme Properties Arrow s Theorem Leture Overview 1 Rep 2 Fun Gme 3 Properties

More information

15-451/651: Design & Analysis of Algorithms December 3, 2013 Lecture #28 last changed: November 28, 2013

15-451/651: Design & Analysis of Algorithms December 3, 2013 Lecture #28 last changed: November 28, 2013 15-451/651: Design & nlysis of lgorithms Deemer 3, 2013 Leture #28 lst hnged: Novemer 28, 2013 Lst time we strted tlking out mehnism design: how to llote n item to the person who hs the mximum vlue for

More information

Metaheuristics for the Asymmetric Hamiltonian Path Problem

Metaheuristics for the Asymmetric Hamiltonian Path Problem Metheuristis for the Asymmetri Hmiltonin Pth Prolem João Pero PEDROSO INESC - Porto n DCC - Fule e Ciênis, Universie o Porto, Portugl jpp@f.up.pt Astrt. One of the most importnt pplitions of the Asymmetri

More information

The vertex leafage of chordal graphs

The vertex leafage of chordal graphs The vertex lefge of horl grphs Steven Chplik, Jurj Stho b Deprtment of Physis n Computer Siene, Wilfri Lurier University, 75 University Ave. West, Wterloo, Ontrio N2L 3C5, Cn b DIMAP n Mthemtis Institute,

More information

Introduction to Graphical Models

Introduction to Graphical Models Introution to Grhil Moels Kenji Fukumizu The Institute of Sttistil Mthemtis Comuttionl Methoology in Sttistil Inferene II Introution n Review 2 Grhil Moels Rough Sketh Grhil moels Grh: G V E V: the set

More information

GRUPOS NANTEL BERGERON

GRUPOS NANTEL BERGERON Drft of Septemer 8, 2017 GRUPOS NANTEL BERGERON Astrt. 1. Quik Introution In this mini ourse we will see how to ount severl ttriute relte to symmetries of n ojet. For exmple, how mny ifferent ies with

More information

Particle Physics. Michaelmas Term 2011 Prof Mark Thomson. Handout 3 : Interaction by Particle Exchange and QED. Recap

Particle Physics. Michaelmas Term 2011 Prof Mark Thomson. Handout 3 : Interaction by Particle Exchange and QED. Recap Prtile Physis Mihelms Term 2011 Prof Mrk Thomson g X g X g g Hnout 3 : Intertion y Prtile Exhnge n QED Prof. M.A. Thomson Mihelms 2011 101 Rep Working towrs proper lultion of ey n sttering proesses lnitilly

More information

Geodesics on Regular Polyhedra with Endpoints at the Vertices

Geodesics on Regular Polyhedra with Endpoints at the Vertices Arnol Mth J (2016) 2:201 211 DOI 101007/s40598-016-0040-z RESEARCH CONTRIBUTION Geoesis on Regulr Polyher with Enpoints t the Verties Dmitry Fuhs 1 To Sergei Thnikov on the osion of his 60th irthy Reeive:

More information

I1 = I2 I1 = I2 + I3 I1 + I2 = I3 + I4 I 3

I1 = I2 I1 = I2 + I3 I1 + I2 = I3 + I4 I 3 2 The Prllel Circuit Electric Circuits: Figure 2- elow show ttery nd multiple resistors rrnged in prllel. Ech resistor receives portion of the current from the ttery sed on its resistnce. The split is

More information

Math 211A Homework. Edward Burkard. = tan (2x + z)

Math 211A Homework. Edward Burkard. = tan (2x + z) Mth A Homework Ewr Burkr Eercises 5-C Eercise 8 Show tht the utonomous system: 5 Plne Autonomous Systems = e sin 3y + sin cos + e z, y = sin ( + 3y, z = tn ( + z hs n unstble criticl point t = y = z =

More information

Global alignment. Genome Rearrangements Finding preserved genes. Lecture 18

Global alignment. Genome Rearrangements Finding preserved genes. Lecture 18 Computt onl Biology Leture 18 Genome Rerrngements Finding preserved genes We hve seen before how to rerrnge genome to obtin nother one bsed on: Reversls Knowledge of preserved bloks (or genes) Now we re

More information

A Study on the Properties of Rational Triangles

A Study on the Properties of Rational Triangles Interntionl Journl of Mthemtis Reserh. ISSN 0976-5840 Volume 6, Numer (04), pp. 8-9 Interntionl Reserh Pulition House http://www.irphouse.om Study on the Properties of Rtionl Tringles M. Q. lm, M.R. Hssn

More information

Assignment 1 Automata, Languages, and Computability. 1 Finite State Automata and Regular Languages

Assignment 1 Automata, Languages, and Computability. 1 Finite State Automata and Regular Languages Deprtment of Computer Science, Austrlin Ntionl University COMP2600 Forml Methods for Softwre Engineering Semester 2, 206 Assignment Automt, Lnguges, nd Computility Smple Solutions Finite Stte Automt nd

More information

#A42 INTEGERS 11 (2011) ON THE CONDITIONED BINOMIAL COEFFICIENTS

#A42 INTEGERS 11 (2011) ON THE CONDITIONED BINOMIAL COEFFICIENTS #A42 INTEGERS 11 (2011 ON THE CONDITIONED BINOMIAL COEFFICIENTS Liqun To Shool of Mthemtil Sienes, Luoyng Norml University, Luoyng, Chin lqto@lynuedun Reeived: 12/24/10, Revised: 5/11/11, Aepted: 5/16/11,

More information

Unfoldings of Networks of Timed Automata

Unfoldings of Networks of Timed Automata Unfolings of Networks of Time Automt Frnk Cssez Thoms Chtin Clue Jr Ptrii Bouyer Serge H Pierre-Alin Reynier Rennes, Deemer 3, 2008 Unfolings [MMilln 93] First efine for Petri nets Then extene to other

More information

Exercise sheet 6: Solutions

Exercise sheet 6: Solutions Eerise sheet 6: Solutions Cvet emptor: These re merel etended hints, rther thn omplete solutions. 1. If grph G hs hromti numer k > 1, prove tht its verte set n e prtitioned into two nonempt sets V 1 nd

More information

EXTENSION OF THE GCD STAR OF DAVID THEOREM TO MORE THAN TWO GCDS CALVIN LONG AND EDWARD KORNTVED

EXTENSION OF THE GCD STAR OF DAVID THEOREM TO MORE THAN TWO GCDS CALVIN LONG AND EDWARD KORNTVED EXTENSION OF THE GCD STAR OF DAVID THEOREM TO MORE THAN TWO GCDS CALVIN LONG AND EDWARD KORNTVED Astrt. The GCD Str of Dvi Theorem n the numerous ppers relte to it hve lrgel een evote to shoing the equlit

More information

Linear Inequalities. Work Sheet 1

Linear Inequalities. Work Sheet 1 Work Sheet 1 Liner Inequlities Rent--Hep, cr rentl compny,chrges $ 15 per week plus $ 0.0 per mile to rent one of their crs. Suppose you re limited y how much money you cn spend for the week : You cn spend

More information