66 void Twist(std::vector<CComparator>*, UINT, UINT, UINT);
71 const std::wstring
GetName()
const;
Interface for the sorting network CSortingNetwork.
Batcher's bitonic sorting network.
void Twist(std::vector< CComparator > *, UINT, UINT, UINT)
Twist channels.
void MakeAllMinMax(std::vector< CComparator > *)
Make all comparators min-max.
CBitonicSort(const UINT)
Constructor.
void CreateMatchArray(std::vector< CComparator > *)
Create match array.
void CreateComparators(std::vector< CComparator > *)
Create comparators.
const std::wstring GetName() const
Get name.
A min-max or max-min comparator used in bitonic sort.
UINT m_nMax
Channel index of maximum.
CComparator(UINT nMin, UINT nMax)
Constructor.
UINT m_nMin
Channel index of minimum.