53    for(UINT j=i&1; j<i+1; j+=2) 
 
   72  return std::wstring(L
"BubblesortMax" + std::to_wstring(
m_nInputs));
 
   99    for(UINT j=i&1; j<i+1; j+=2){ 
 
  121  return std::wstring(L
"BubblesortMin" + std::to_wstring(
m_nInputs));
 
  159  return std::wstring(L
"Bubblesort" + std::to_wstring(
m_nInputs));
 
Interface for the bubblesort sorting network.
Header for useful helper functions.
const std::wstring GetName() const
Get name.
void CreateComparators()
Create comparators.
CBubbleSort(const UINT)
Constructor.
CBubbleSortMax(const UINT)
Constructor.
const std::wstring GetName() const
Get name.
void CreateComparators()
Create comparators.
CBubbleSortMin(const UINT)
Constructor.
void CreateComparators()
Create comparators.
const std::wstring GetName() const
Get name.
void InsertComparator(UINT, UINT, UINT)
Insert comparator.
void ComputeSize()
Compute size.
UINT m_nInputs
Number of inputs.
void CreateMatchArray(UINT, UINT)
Create match array.
void CreateUsageArray()
Make usage array.
void CreateValueArray()
Make value array.