Modified Heap Sort (MHS) in Chapter 2 (Matlab codes)
We use MHS to solve Example 2.37 in Chapter 2 in order to compare with BSA in 3 dimension.Three are four files:
grid3 is a function to define f=x^2+y^2+z^2.
heapA2 is a heap sort function.
heapifydownN1 is a heapifydown function.
heapifyup1 is a heapifydown function.
History
Usage metrics
Licence
Exports
RefWorksRefWorks
BibTeXBibTeX
Ref. managerRef. manager
EndnoteEndnote
DataCiteDataCite
NLMNLM
DCDC