Skip to content

Commit 6342d0e

Browse files
committed
Document measures of disorder Las, Lds and Lads
1 parent 22b86c6 commit 6342d0e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/Measures-of-disorder.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ Computes the minimum number of non-decreasing subsequences (of possibly non-adja
414414

415415
## Other measures of disorder
416416

417-
Some additional measures of disorder have been described in the literature but do not appear in the partial ordering graph. This section describes some of them but is not an exhaustive list.
417+
Some additional measures of disorder have been described in the literature but do not appear in the partial ordering graph, or are not provided in the library. This section describes some of them but is not an exhaustive list.
418418

419419
### *DS*
420420

@@ -424,6 +424,13 @@ A measure called *DS* appears in *Computing and ranking measures of presortednes
424424

425425
In other domains, that value is called *F* (for *Footrule*). It is no more helpful a name than *D* or *DS*, so I decided to use *Spear* for this library's name (for *Spearman*) - following the same naming pattern that led to *Ham* -, despite there being no precedent in the literature.
426426

427+
### *Las*, *Lds* and *Lads*
428+
429+
Those names tend to appear in papers authored by Jinseng Chen, such as *On Partitions and Presortedness of Sequences* and *Computing and Ranking Measures of Presortedness*:
430+
* *Las(X)* is the length of the *longest ascending subsequence* of *X*. We do not provide it because it grows with _order_ in the sequence intead of growing with _disorder_. $\mathit{Rem}(X) = \lvert X \rvert - \mathit{Las}(X)$ is the closest measure provided by the library.
431+
* *Lds(X)* is the length of the *longest descending subsequence* of *X*. It corresponds to to [$\mathit{SUS}$][probe-sus] in the library, the minimum number of increasing subsequences into which *X* can be decomposed.
432+
* *Lads(X)* is an extension of both of the measures above, computing the minimum number of monotonic subsequences (ascending or descending) into which *X* can be decomposed. It is a different name for [*SMS*][probe-sms].
433+
427434
### *Par*
428435

429436
*Par* is described by V. Estivill-Castro and D. Wood in *A New Measure of Presortedness* as follows:
@@ -463,5 +470,6 @@ Nevertheless we do know a few of the measure's properties:
463470
[hamming-distance]: https://en.wikipedia.org/wiki/Hamming_distance
464471
[longest-increasing-subsequence]: https://en.wikipedia.org/wiki/Longest_increasing_subsequence
465472
[original-research]: Original-research.md#partial-ordering-of-mono
473+
[probe-sms]: Measures-of-disorder.md#sms
466474
[probe-sus]: Measures-of-disorder.md#sus
467475
[sort-race]: https://arxiv.org/ftp/arxiv/papers/1609/1609.04471.pdf

0 commit comments

Comments
 (0)