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:
| Name | Type | Attribute | Description |
| compare | * | ||
| a | * | ||
| i | * | ||
| j | * |
public insertionsort(compare: *, a: *, i: *, j: *) source
import {insertionsort} from 'aureooms-js-sort/src/sort/insertionsort.js'Params:
| Name | Type | Attribute | Description |
| compare | * | ||
| a | * | ||
| i | * | ||
| j | * |
public issorted(compare: *, array: *, left: *, right: *): * source
import {issorted} from 'aureooms-js-sort/src/utils/issorted.js'Checks whether range [left,right[ of array is sorted. Returns k <= right such that [left,k[ is sorted.
Params:
| Name | Type | Attribute | Description |
| compare | * | ||
| array | * | ||
| left | * | ||
| right | * |
Return:
| * |
public selectionsort(compare: *, a: *, i: *, j: *) source
import {selectionsort} from 'aureooms-js-sort/src/sort/selectionsort.js'Params:
| Name | Type | Attribute | Description |
| compare | * | ||
| a | * | ||
| i | * | ||
| j | * |
public whole(sort: *): * source
import {whole} from 'aureooms-js-sort/src/utils/whole.js'Params:
| Name | Type | Attribute | Description |
| sort | * |
Return:
| * |
Static Private
private _fordjohnson(binarysearch: *): * source
import {_fordjohnson} from 'aureooms-js-sort/src/sort/fordjohnson.js'Params:
| Name | Type | Attribute | Description |
| binarysearch | * |
Return:
| * |