Сортирање — разлика између измена
Садржај обрисан Садржај додат
Нема описа измене |
Нема описа измене |
||
Ред 1:
{{РАФ2015}}
[[Image:Metal movable type.jpg|right|300px|thumb|
'''Сортирање''' је било који систематични процес уређивања, и има 2 заједничка, а ипак различита значења:
# Уређивање: уређивање ставки једну за другом по неком критеријуму;
# Категоризација: груписање ставки са слличним особинама;
==Сортирање информација или података==
{{main|Sorting algorithm}}
У [[Информатика|информатици]], процес уређивање ставки једну за другом се назива "сортирање". Сортирање је честа операција у многим апликацијама, и постоји много ефикасних [[Алгоритам|алгоритама]] који су баш због тога измишљени.
Најчешће примене сортирања су у:
* побољшању ефикасности [[Алгоритми претраживања|алогоритама претраге]];
* побољшању ефикасности за [[Algoritam spajanja|спајање низова]].
The main purpose of sorting information is to optimise its usefulness for specific tasks. In general, there are two ways of grouping information: '''by category''' e.g. a shopping catalogue where items are compiled together under headings such as 'home', 'sport & leisure', 'women's clothes' etc. ([[Sampling (statistics)#Nominal and ordinal scales|nominal scale]]) and '''by the intensity''' of some property, such as price, e.g. from the cheapest to most expensive (ordinal scale). [[Richard Saul Wurman]], in his book ''Information Anxiety'', proposes that the most common sorting purposes are '''name''', by '''location''' and by '''time''' (these are actually special cases of category and hierarchy). Together these give the acronym LATCH (Location, Alphabetical, Time, Category, Hierarchy) and can be used to describe just about every type of ordered information.
|