C# Class Orc.Sort.NSort.HeapSort

Inheritance: SwapSorter
Mostra file Open project: WildGums/Orc.Sort

Public Methods

Method Description
HeapSort ( ) : System.Collections
HeapSort ( IComparer comparer, ISwap swapper ) : System.Collections
Sort ( IList list ) : void

Private Methods

Method Description
DownHeap ( IList list, int k, int n ) : void

Method Details

HeapSort() public method

public HeapSort ( ) : System.Collections
return System.Collections

HeapSort() public method

public HeapSort ( IComparer comparer, ISwap swapper ) : System.Collections
comparer IComparer
swapper ISwap
return System.Collections

Sort() public method

public Sort ( IList list ) : void
list IList
return void