![]() |
Sorting Network Search
Backtracking for Small Sorting Networks
|
The common variables class. More...
#include <Settings.h>
Static Public Member Functions | |
static void | SetWidth (const size_t) |
Set width. More... | |
static void | SetDepth (const size_t) |
Set depth. More... | |
Static Protected Attributes | |
static size_t | m_nWidth = 9 |
Comparator network width. More... | |
static size_t | m_nDepth = 6 |
Comparator network depth. More... | |
A singleton class that encapsulates things that are common to different components. Making it a singleton class means that we can avoid passing its member variables around as parameters, which makes the code minisculely faster, and more importantly, makes the code more readable by reducing function clutter.
Definition at line 37 of file Settings.h.
|
static |
|
static |
|
staticprotected |
Definition at line 40 of file Settings.h.
|
staticprotected |
Definition at line 39 of file Settings.h.