GO-V.ORG
As seen in

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

5 results across 6 corpora for sortedness.

Encyclopedia 3

Smoothsort

r performance on many nearly sorted inputs. However, it does not handle all nearly sorted sequences optimally. Using the count of inversions as a measure of un-sortedness (the number of pairs of indices and with and ; for randomly sorted input this is approximately ), there are possible input sequences with inversions which cause it to take time, whereas other adaptive sorting algorithms can solve these cases in time

e01 Encyclopedia · CC BY-SA 4.0 · https://en.wikipedia.org/w/index.php?oldid=1342049700

Comparison sort

n = 2^10 = 1.024, On ~= 9*n n = 2^20 = 1.048.576, On ~= 19*n ===Sorting a pre-sorted list=== If a list is already close to sorted, according to some measure of sortedness, the number of comparisons required to sort it can be smaller. An adaptive sort takes advantage of this "presortedness" and runs more quickly on nearly-sorted inputs, often while still maintaining an O(n\log n) worst case time bound. An example is a

e01 Encyclopedia · CC BY-SA 4.0 · https://en.wikipedia.org/w/index.php?oldid=1373680613

Inversion (discrete mathematics)

umber=== The inversion number \mathtt{inv}(X) of a sequence X=\langle x_1,\dots,x_n\rangle , is the cardinality of the inversion set. It is a common measure of sortedness (sometimes called presortedness) of a permutation or sequence. The inversion number is between 0 and \frac{n(n-1)}2 inclusive. A permutation and its inverse have the same inversion number. For example \mathtt{inv}(\langle1,2,\dots, n\rangle)=0 since

e01 Encyclopedia · CC BY-SA 4.0 · https://en.wikipedia.org/w/index.php?oldid=1351699753

Dictionary 1

sortedness

The quality of being sorted

Wiktionary mirror (dictionary.db) · CC BY-SA 4.0 (Wiktionary dump) · https://en.wiktionary.org/wiki/sortedness

Papers 1

NP-hardness of sortedness constraints

OpenAlex work · 2015 · FR

OpenAlex / DOI · Metadata: CC0; publisher content per DOI · https://doi.org/10.48550/arxiv.1506.02442

JSON results · Services directory