Kinetic sorted list

A kinetic sorted list is a kinetic data structure for maintaining a list of points under motion in sorted order. It is used as a kinetic predecessor data structure, and as a component in more complex kinetic data structures such as kinetic closest pair.

Implementation

This data structure maintains a list of the elements in sorted order, with the certificates enforcing the order between adjacent elements. When a certificate fails, the concerned elements are swapped. Then at most three certificates must be updated, the certificate of the swapped pair, and the two certificates involving the swapped elements and the elements of the sorted list which directly precede and follow the swapped pair.

For example, given a sorted list {A,B,C,D,E,F}, the certificates will be [A<B], [B<C], [C<D], [D<E], [E<F]. If the certificate [C<D] fails, the list will be updated to {A,B,D,C,E,F}, and the certificates [B<C], [C<D], and [D<E], will be replaced with [B<D], [D<C], and [C<E], respectively. The new set of certificates will be [A<B], [B<D], [D<C], [C<E], [E<F]

Analysis

This kinetic data structure is:

  • Responsive: a certificate failure causes one swap (which takes O(1) time) and O(1) certificate changes which take O(log n) time to reschedule
  • Local: every element is involved in at most 2 certificates
  • Compact: there are exactly n-1 certificates for a list of n elements
  • Efficient: this data structure causes no extraneous internal events, every change in the ordering of the elements causes exactly one certificate failure.

Generalization

This data structure can be generalized to a kinetic data structure which can return a sorted list of points in time and processes events total, assuming pseudo algebraic trajectories, where is a parameter of the data structure. Thus, a maintenance-time versus query-time tradeoff can be made to tune to specific applications.

In the generalized data structure, the points are partitioned arbitrarily into m subsets of size , and kinetic sorted lists are maintained on the subsets. Each sorted sublist needs to process events (certificate failures) maximum, since there are swaps of each of the pairs of elements. Thus the total time required to maintain the data structure is . Requests for the sorted list can then be answered in by merging the sorted sublists with mergesort.


References

Read other articles:

Pink Floyd song Louder than Words (song) redirects here. For the song by David Guetta and Afrojack, see Louder than Words (David Guetta and Afrojack song). Louder than WordsSingle by Pink Floydfrom the album The Endless River Released14 October 2014 (2014-10-14)Recorded1993/2014 on the Astoria (London, England)GenreProgressive rock[1]Length 6:37 (album) 4:40 (Promo edit) LabelColumbiaSongwriter(s) David Gilmour Polly Samson Producer(s) David Gilmour Martin Glover Andy J...

 

Đại Cồ Việt 大瞿越國 Дайков'єт 938 – 1009 Дайков'єт: історичні кордони на картіДайков'єт за ранніх років династії Нго Столиця [[[:en:C%E1%BB%95 Loa Citadel|Колоа]]] [[[:en:Hoa L%C6%B0|Хоали]]] Релігії культ предків (то тіен) конфуціанство (до 968 р.) буддизм даосизм Форма правління монархія Історі...

 

Filiano Entidad subnacional FilianoLocalización de Filiano en Italia Coordenadas 40°49′00″N 15°42′00″E / 40.816666666667, 15.7Capital FilianoIdioma oficial ItalianoEntidad Comuna de Italia • País Italia • Región Basilicata • Provincia PotenzaFracciones Dragonetti, Forenza Scalo, Scalera, Sterpeto di Sopra, Sterpeto di SottoMunicipios limítrofes Atella, Avigliano, Forenza, Ripacandida, San FeleSuperficie   • Total 70,78 km²Altitud...

Song by Lady Gaga Why Did You Do That?Song by Lady Gagafrom the album A Star Is Born ReleasedOctober 5, 2018VenueSaturday Night Live NBC StudiosGenreDance-popLength3:04LabelInterscopeSongwriter(s) Lady Gaga Diane Warren Mark Nilan Jr. Nick Monson Paul DJWS Blair Producer(s) Lady Gaga Mark Nilan Jr. Nick Monson Paul DJWS Blair Audio videoWhy Did You Do That? on YouTube Why Did You Do That? is a song recorded by American singer Lady Gaga for the 2018 film A Star Is Born and released on the soun...

 

هذه المقالة تحتاج للمزيد من الوصلات للمقالات الأخرى للمساعدة في ترابط مقالات الموسوعة. فضلًا ساعد في تحسين هذه المقالة بإضافة وصلات إلى المقالات المتعلقة بها الموجودة في النص الحالي. (يوليو 2023) هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة ...

 

John H. WagemanLahir(1841-03-22)22 Maret 1841Amelia, OhioMeninggal9 Januari 1916(1916-01-09) (umur 74)Tempat pemakamanWilliamsburg, OhioPengabdianAmerika SerikatDinas/cabangAngkatan Darat Amerika SerikatUnion ArmyPangkatPrivatKesatuanInfanteri Ohio ke-60Perang/pertempuranPertempuran Petersburg KeduaPenghargaan Medal of Honor John H. Wageman (22 Maret 1841 – 9 Januari 1916) adalah seorang prajurit Amerika Serikat. Ia berjuang untuk Union Army pada Perang Saudara Amerika. I...

Academy in City of Milton Keynes, England This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Ousedale School – news · newspapers · books · scholar · JSTOR (De...

 

British Poet Laureate (1809–1892) Tennyson and Lord Tennyson redirect here. For other uses, see Tennyson (disambiguation) and Baron Tennyson. The Right HonourableThe Lord TennysonFRSCabinet card by Elliott & Fry, late 1860sPoet Laureate of the United KingdomIn office19 November 1850 – 6 October 1892MonarchVictoriaPreceded byWilliam WordsworthSucceeded byAlfred AustinMember of the House of LordsLord TemporalIn office11 March 1884 – 6 October 1892Hereditary PeerageSu...

 

Chess variant Philidor playing blindfold chess Blindfold chess, also known as sans voir, is a form of chess play wherein the players do not see the positions of the pieces and do not touch them. This forces players to maintain a mental model of the positions of the pieces. Moves are communicated via a recognized chess notation. Blindfold chess was considered miraculous for centuries but now there is greater recognition of people who can keep track of more than one simultaneous blindfolded gam...

American television variety program The Danny Kaye ShowJoyce Van Patten & Danny Kaye in The Danny Kaye Show (1965)GenreVariety showWritten byHerbert BakerBilly BarnesPresented byDanny KayeTheme music composerSylvia FineSammy CahnPaul WestonNat FarberOpening themeLife Could Not Better BeEnding themeRendezvous In MayComposerPaul WestonCountry of originUnited StatesOriginal languageEnglishNo. of seasons4No. of episodes120ProductionCamera setupMulti-cameraRunning time45–48 minutesProduc...

 

1982 Indian filmOdukkam ThudakkamTheatrical release posterDirected byMalayattoor RamakrishnanWritten byMalayattoor RamakrishnanScreenplay byMalayattoor RamakrishnanProduced byM. O. JosephStarringRatheeshKalaranjiniRajkumarK. P. UmmerCinematographyVipin DasEdited byM. S. ManiMusic byG. DevarajanProductioncompanyManjilasDistributed byChalachitraRelease date 12 March 1982 (1982-03-12) CountryIndiaLanguageMalayalam Odukkam Thudakkam is a 1982 Indian Malayalam-language film, directe...

 

Suku Dayak BahauFoto suku Dayak Bahau sekitar tahun 1898-1900.Daerah dengan populasi signifikanKalimantan Timur, Kalimantan UtaraBahasaBahasa Bahau, Bahasa IndonesiaAgamaKristen Protestan, Kristen Katolik, BunganKelompok etnik terkaitDayak Kenyah, Dayak Kayan Suku Kayan Bahau adalah sebuah sub-suku dari suku Dayak Kayan yang sebagian besar mendiami kawasan Kabupaten Mahakam Ulu [1] dan sebagian kecil berada di Kabupaten Kutai Barat, Kalimantan Timur.Suku ini mendiami Kecamatan Long Pa...

Kampanye melawan Dong ZhuoBagian dari Tiga KerajaanTanggalFebruari 190 - 191LokasiHenan, CinaHasil Tidak dapat disimpulkan;Dong Zhuo mundur ke barat, koalisi dibubarkanPihak terlibat Koalisi Guandong Dong ZhuoTokoh dan pemimpin Yuan Shao Dong ZhuoKekuatan 100.000+[1] Tidak diketahui Kampanye melawan Dong Zhuo (董卓討伐戰) pada tahun 190 dilancarkan oleh koalisi pejabat regional yang berusaha mengakhiri pengaruh Dong Zhuo di lingkungan kerajaan Dinasti Han di Cina. Dengan Yuan Sha...

 

For other uses, see Freeform (disambiguation). Radio format in which the disc jockey is given total control over what music to play This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Free-form r...

 

This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Dnevnik HRT – news · newspapers · books · scholar · JSTOR (June 2022) (Learn how and when to remove this template message)Croatian TV series or program Dnevnik HRTStudio scenography in April 2009GenreNews programmePresented byĐurica DrobacVlatka KalinićM...

1999 Canadian filmResurrectionOriginal film posterDirected byRussell MulcahyWritten byBrad MirmanStory by Christopher Lambert Brad Mirman Produced byHoward BaldwinChristopher LambertPatrick ChoiNile NiamiStarringChristopher LambertRobert JoyBarbara TysonRick FoxLeland OrserCinematographyJonathan FreemanEdited byGordon McClellanMusic byJames McGrathProductioncompaniesBaldwin/Cohen ProductionsInterlight PicturesResurrection Productions Inc.Distributed byColumbia TriStar Home VideoRelease dateMa...

 

Zeventiende-eeuws dolhuis te Delft Dit artikel geeft een overzicht van de geschiedenis van de psychiatrie. Primitieve culturen In de vroegste culturen werden gedragsgestoorden beschouwd als bezeten door een oergeest, natuurgeest of demon. Ook kon er sprake zijn van een overleden voorouder die uit wraak bezit had genomen van de zieke. Remedie kon zijn een schedelboring (schedeltrepanatie) zodat de geest uit het hoofd kon ontsnappen, of zich besmeren met uitwerpselen. Toch werden geesteszieken ...

 

American acting family Designations Pennsylvania Historical MarkerOfficial nameBarrymores, TheTypeCityCriteriaPerformersDesignatedOctober 1, 1996[1]LocationNW corner, N 6th & Arch Sts., Philadelphia39°57′10″N 75°09′00″W / 39.95279°N 75.15013°W / 39.95279; -75.15013Marker TextThree famous actors, Philadelphia-born, were the third generation of this Royal Family of the American Stage. Lionel (1878–1954), Ethel (1879–1959), and John (1882–194...

Il Comitato Rivoluzionario Centrale Bulgaro (in bulgaro Български Рeволюционeн Цeнтралeн Комитeт?, Bălgarski Revoljucionen Centralen Komitet) o CRCB fu un movimento rivoluzionario creato nel 1869 con sede a Bucarest. Il suo scopo era diffondere idee rivoluzionarie e sostenere la preparazione politica e ideologica della rivoluzione nazionale bulgara. Indice 1 Origini 2 Programma del CRCB 3 Il distacco del Comitato e l'Organizzazione rivoluzionaria interna 4 Per...

 

Former Wild West theme park in Park City, Kansas, United States Wild West WorldLocationPark City, KansasCoordinates37°49′06″N 97°19′16″W / 37.818209°N 97.321229°W / 37.818209; -97.321229StatusDefunctOpenedMay 5, 2007 (2007-05-05)ClosedJuly 9, 2007 (2007-07-09)OwnerWild West World LLC Restoration Farms IncOperated byWild West World LLC Restoration Farms IncThemeWild WestArea130 acres (53 ha) Wild West World was a Wild West ...

 

Strategi Solo vs Squad di Free Fire: Cara Menang Mudah!