Experimental Code
Code Written To Experiment With Various Techniques And Otherwise Not Very Useful...
|
Do-nothing Metric-collector for major actions done by ListMergeSort. More...
#include <ListMergeSort.h>
Public Member Functions | |
void | compare (const T &a, const T &b) |
a and b are compared More... | |
void | swap () |
Two items were swapped. More... | |
void | done () |
The sort completed. More... | |
void | reset () |
Metrics should be reset due to starting a new sort. More... | |
Do-nothing Metric-collector for major actions done by ListMergeSort.
This serves as a placeholder should you wish to perform metrics on a sort.
type | of data being sorted |
Definition at line 34 of file ListMergeSort.h.
|
inline |
a and b are compared
Definition at line 37 of file ListMergeSort.h.
|
inline |
The sort completed.
Definition at line 43 of file ListMergeSort.h.
|
inline |
Metrics should be reset due to starting a new sort.
Definition at line 46 of file ListMergeSort.h.
|
inline |
Two items were swapped.
Definition at line 40 of file ListMergeSort.h.