ArticleslgStudy

computer science

Kinetic sorted list

Kinetic sorted list is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Kinetic sorted list rather than just read about it. In short: 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.

Key takeaways

  • Kinetic sorted list belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Kinetic sorted list to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Kinetic sorted list from memory before moving on to harder problems.

Reference excerpt

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 O ( n log ⁡ m ) {\displaystyle O(n\log m)} time and processes O ( n 2 m ) {\displaystyle O({\frac {n^{2}}{m}})} events total, assuming pseudo algebraic trajectories, where m {\displaystyle m} 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 O ( n m ) {\displaystyle O({\frac {n}{m}})} , and kinetic sorted lists are maintained on the subsets. Each sorted sublist needs to process O ( n 2 m 2 ) {\displaystyle O({\frac {n^{2}}{m^{2}}})} events (certificate failures) maximum, since there are O ( 1 ) {\displaystyle O(1)} swaps of each of the O ( n 2 m 2 ) {\displaystyle O({\frac {n^{2}}{m^{2}}})} pairs of elements. Thus the total time required to maintain the data structure is O ( n 2 m ) {\displaystyle O({\frac {n^{2}}{m}})} . Requests for the sorted list can then be answered in O ( n log ⁡ m ) {\displaystyle O(n\log m)} by merging the sorted sublists with mergesort.

References Abam, M.A.; De Berg, M. (2007), "Kinetic sorting and kinetic convex hulls", Special Issue on the Twenty-First Annual Symposium on Computational Geometry — SoCG 2005, Computational Geometry: Theory and Applications, 37 (1): 16–26, doi:10.1016/j.comgeo.2006.02.004.

Worked examples

Example 1 — a first encounter with Kinetic sorted list

Start with the simplest possible case. Write down what Kinetic sorted list claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Kinetic sorted list before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Kinetic sorted list ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Kinetic sorted list

In research
Kinetic sorted list appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Kinetic sorted list in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Kinetic sorted list is common in secondary-school and first-year university syllabi. It links to neighbouring topics Kinetic data structures, so understanding it makes those chapters shorter.
In everyday life
Look for Kinetic sorted list outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Kinetic sorted list in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Kinetic sorted list means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Kinetic sorted list out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Kinetic sorted list in simple terms?

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.

Why does Kinetic sorted list matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Kinetic sorted list?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Kinetic sorted list.

Tags

  • Kinetic data structures

Keep exploring