

Stable - A stable sorting algorithm will retain the original ordering of equal elements.Big O notation - A useful notation which describes how well algorithms scale as the input grows larger.
#Xsort test code#
The documentation provided here and in the source code makes use of some notions and terminology which are common to sorting algorithms or algorithms in general. Other algorithms such as radix sort or bucket sort are not comparison sorts. Most of the algorithms available here are comparison-based sorting algorithms. Tree Sort - An implementation of a red-black tree is available in the Phobos standard library.Smooth Sort by deadalnix - A natural variant of heap sort using Leonardo heaps.Radix Sort by Per Nordlöw - Supports integer and floating-point element types.Here are a few other sorting algorithms implemented by others for the D programming language: Timsortlow - Variant of Timsort with O(n/1024) space complexity.Timsort - Standard implementation without any special tricks.Stable Sort - Natural merge sort with O(lg^2 n) space complexity.Stable Quick Sort (3-way stable quick sort with O(lg n) or O(lg^2 n) space complexity).Shell Sort - Provides concurrent implementation.Selection Sort - Implemented to work with forward ranges.Merge Sort - O(n) or O(n/2) space complexity.Introsort - A hybrid algorithm which uses a mix of quicksort and heapsort to achieve O(n log n) running time in the worst case.Insertion Sort - Utilizing linear, binary, gallop, or trot search.In-Place Merge Sort - O(n lg^2 n) time complexity.Heap Sort - Six variants: binary or ternary tree sift-down, sift-up, or bottom-up traversal.Hash Sort - Variant of counting sort which utilizes a hash table.Forward Sort - In-place sort for forward ranges utilizing a combination of quick sort + comb sort.Cycle Sort - Implemented to work with forward ranges.Comb Sort - Standard implementation or final pass with linear/gallop insertion sort.Bubble Sort - Implemented to work with forward ranges.Any single module may be used independently without any other modules installed. AlgorithmsĪll modules are provided with documentation and unit tests. Check out older commits for the old README and benchsort.d tool. As such, there may be some inconsistencies or missing information. NOTICE: This repository is undergoing a gradual transition to a new format. All source code is available in the public domain. Thus, the xSORT NonAlloy is ideal for environmental and RoHS compliance screening, as well as for geological exploration.Īll three xSORT EDXRF spectrometers offer a host of features from low detection limits down to the ppm range for heavy metals, to an interface bezel with operator-defined hot keys to maximize speed of common tasks, to “live” analysis results, to wireless LAN and more.XSort is a collection of sorting algorithms and related profiling tools implemented in the D programming language. It generates high-productivity spot checks in a few seconds, or holds on to the sample longer for laboratory-quality results.

It delivers fast, reliable measurement and elemental analysis of nonmetallic materials with an outstanding level of performance. The xSORT NonAlloy for fast element screening is Spectro’s handheld XRF with a large area silicon drift detector (SDD). It’s also designed for advanced metals analysis and is ideal for use with scrap metals sorting and positive material identification (PMI). The instrument performs metal grade analysis in only two seconds for most alloys, or, in just ten additional seconds, sorts alloys containing “light” elements, such as magnesium, aluminum, silicon, phosphorous, and sulfur. This entry-level model employs an innovative silicon PIN (Si-PIN) detector and delivers grade identification of metals in seconds without extensive analysis.įeaturing a top-of-the-line silicon drift detector (SDD), the xSORT AlloyPlus provides reliable, high-productivity measurement and analysis. The xSORT Alloy handheld XRF is designed for affordable metals identification and is ideal for the quick incoming inspection of materials. Moreover, the proven field-ready design features simple user-friendly displays and efficient ergonomics to make the devices extremely easy to use. Each of the three versions of the energy dispersive X-ray fluorescence spectrometers delivers repeatable, laboratory-quality results in a matter of seconds and is optimized for fatigue-free on-site measurements.


Spectro Analytical Instruments, based at Kleve/Germany has introduced the new xSORT family of handheld EDXRF spectrometers for onsite elemental analysis and spectrochemical testing in the plant or in challenging field locations.
