sort

package
v0.0.0-...-283c566 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BubbleSort

func BubbleSort(v, b bool, s string, t types.Tree)

BubbleSort performs a bubble sort on t with b defining the vertical sort order and s defining the sort value

func InsertionSort

func InsertionSort(v, b bool, s string, t types.Tree)

InsertionSort performs an insertion sort on t with b defining the vertical sort order and s defining the sort value

func MergeSort

func MergeSort(v, b bool, s string, t types.Tree)

MergeSort performs an in-place merge sort on the tree with b defining the vertical sort order and s defining the sort value

func QuickSort

func QuickSort(v, b bool, s string, t types.Tree)

QuickSort performs a quicksort on t with b defining the vertical sort order and s defining the sort value

func SelectionSort

func SelectionSort(v, b bool, s string, t types.Tree)

SelectionSort performs an selection sort on t with b defining the vertical sort order and s defining the sort value

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL