Module sorting_visualization::algorithms[][src]

Different sorting algorithms as well as the general Algorithm trait.

Re-exports

pub use crate::array::Array;
pub use self::bubble::BubbleSort;
pub use self::cocktail::CocktailSort;
pub use self::cycle::CycleSort;
pub use self::gnome::GnomeSort;
pub use self::heap::HeapSort;
pub use self::insertion::InsertionSort;
pub use self::merge::MergeSort;
pub use self::quicksort::Quicksort;
pub use self::selection::SelectionSort;
pub use self::shellsort::Shellsort;
pub use self::all::All;

Modules

all
bubble

Bubble sort

cocktail

Cocktail sort

cycle

Cycle sort

gnome

Gnome sort

heap

Heap sort

insertion

Insertion sort

merge

Merge sort

quicksort

Quicksort

selection

Selection sort

shellsort

Shell sort

Traits

Algorithm

The general trait for all sorting algorithms.

Functions

all

Returns a hashmap of all algorithms. It is used in the cli module.