Home Manual Reference Source Test Repository

Function

Static Public Summary
public

bubblesort(compare: *, a: *, i: *, j: *)

public

insertionsort(compare: *, a: *, i: *, j: *)

public

issorted(compare: *, array: *, left: *, right: *): *

Checks whether range [left,right[ of array is sorted.

public

selectionsort(compare: *, a: *, i: *, j: *)

public

whole(sort: *): *

Static Private Summary
private

_fordjohnson(binarysearch: *): *

Static Public

public bubblesort(compare: *, a: *, i: *, j: *) source

import {bubblesort} from 'aureooms-js-sort/src/sort/bubblesort.js'

Params:

NameTypeAttributeDescription
compare *
a *
i *
j *

public insertionsort(compare: *, a: *, i: *, j: *) source

import {insertionsort} from 'aureooms-js-sort/src/sort/insertionsort.js'

Params:

NameTypeAttributeDescription
compare *
a *
i *
j *

public issorted(compare: *, array: *, left: *, right: *): * source

Checks whether range [left,right[ of array is sorted. Returns k <= right such that [left,k[ is sorted.

Params:

NameTypeAttributeDescription
compare *
array *
left *
right *

Return:

*

public selectionsort(compare: *, a: *, i: *, j: *) source

import {selectionsort} from 'aureooms-js-sort/src/sort/selectionsort.js'

Params:

NameTypeAttributeDescription
compare *
a *
i *
j *

public whole(sort: *): * source

Params:

NameTypeAttributeDescription
sort *

Return:

*

Static Private

private _fordjohnson(binarysearch: *): * source

import {_fordjohnson} from 'aureooms-js-sort/src/sort/fordjohnson.js'

Params:

NameTypeAttributeDescription
binarysearch *

Return:

*