A linear-time algorithm for computing inversion distance between signed permutations with an experimental study

D A Bader1, B M Moret, M Yan

  • 1Department of Electrical and Computer Engineering, University of New Mexico, Albuquerque, NM 87131-1356, USA. dbader@eece.unm.edu

Related Concept Videos

Introduction to the Sign Test01:10

Introduction to the Sign Test

The sign test is an important tool in nonparametric statistics, offering a straightforward yet effective method for analyzing matched pairs, nominal data, or hypotheses concerning the median of a population. It transforms data points into positive or negative signs, avoiding the need for assumptions about data distribution and instead focusing on the direction of change. It is particularly valuable when data does not conform to the normal distribution requirements of many parametric tests. For...
Sign Test for Matched Pairs01:17

Sign Test for Matched Pairs

The sign test for matched pairs offers a robust method for comparing two paired samples, often for the effects of an intervention in one of them. This method is very useful in situations where the underlying distribution of the data is unknown. The test compares two related samples—often pre- and post-treatment measurements on the same subjects—to determine if there are significant differences in their median values.
To conduct the sign test, we first calculate the differences in value between...
Basic Operations on Signals01:22

Basic Operations on Signals

Basic signal operations include time reversal, time scaling, time shifting, and amplitude transformations. These operations are fundamental in signal processing and analysis.
Time Reversal mirrors a continuous-time signal about the vertical axis at t=0. This is achieved by substituting t with −t. For example, if a signal x(t) is considered, the time-reversed signal is x(−t). This operation can be graphically represented, showing the mirrored signal.
Properties of DTFT I01:24

Properties of DTFT I

In signal processing, Discrete-Time Fourier Transforms (DTFTs) play a critical role in analyzing discrete-time signals in the frequency domain. Various properties of the DTFTs such as linearity, time-shifting, frequency-shifting, time reversal, conjugation, and time scaling help understand and manipulate these signals for different applications.
The linearity property of DTFTs is fundamental. If two discrete-time signals are multiplied by constants a and b respectively, and then combined to...
Derivatives of Inverse Trigonometric Functions01:30

Derivatives of Inverse Trigonometric Functions

A ship tracking an approaching aircraft relies on geometric measurements to find out the aircraft’s position relative to the observer. By measuring the slant distance to the aircraft and the angle of elevation, the horizontal and vertical components of the distance can be obtained using trigonometric relationships. This geometric approach provides a basis for analyzing how the observed angle changes as the aircraft moves closer to the ship.To examine the mathematical behavior of the angle of...
Distance Problem01:29

Distance Problem

When an object's velocity changes over time, the total distance traveled can be determined by summing small displacement intervals over short increments. This approach approximates the true distance through numerical summation and the use of integral calculus. An estimate of the total displacement can be obtained by measuring velocity at regular intervals and multiplying each value by the corresponding time step.If a runner accelerates over the first three seconds of a race, speed measurements...