26#ifndef __ComparatorNetwork_h__
27#define __ComparatorNetwork_h__
59 virtual bool Read(LPWSTR);
60 void Prune(
const UINT);
UINT ** m_nMatch
Matchings at each level.
~CComparatorNetwork()
Destructor.
const UINT GetDepth() const
Get depth.
void Prune(const UINT)
Prune down number of inputs.
virtual bool Read(LPWSTR)
Read from file.
const bool FirstNormalForm() const
Test for first normal form.
void InsertComparator(UINT, UINT, UINT)
Insert comparator.
bool m_bSorts
True if it sorts, false if it doesn't or unknown.
void ComputeSize()
Compute size.
const UINT GetSize() const
Get size.
const UINT GetNumInputs() const
Get number of inputs.
UINT m_nInputs
Number of inputs.
void CreateMatchArray(UINT, UINT)
Create match array.
bool ** m_bUsed
Whether comparators are used when sorting.