![]() |
Sorting Network Verify and Draw
Check Whether Comparator Networks Sort and Draw Them
|
A min-max or max-min comparator used in bitonic sort. More...
#include <Bitonic.h>
Public Member Functions | |
CComparator (UINT nMin, UINT nMax) | |
Constructor. More... | |
Public Attributes | |
UINT | m_nMin = 0 |
Channel index of minimum. More... | |
UINT | m_nMax = 0 |
Channel index of maximum. More... | |
This can be either a min-max comparator (when the index of the min channel is less than the index of the max channel) or a max-min comparator (when the index of the min channel is greater than the index of the max channel). Max-min channels are necessary during the construction of the bitonic sorting network.
|
inline |