Example #1
0
 //--------------------------------------------------------------------------------------
 public EnumerateHeapRepeatedSort(
     int pSize,
     int pStep      = 1,
     int bufferSize = 1000)
     : base(pSize, pSize)
 {
     _fSize              = pSize;
     _step               = pStep;
     _stepCounter        = 1;
     _sortingAccumulator = new FakeSortingAccumulator();
     _heapSort           = new HeapSort <int>();
 }
 //--------------------------------------------------------------------------------------
 public EnumerateSelectionSort(
     int pSize,
     int pStep      = 1,
     int bufferSize = 1000)
     : base(pSize, pSize)
 {
     _fSize              = pSize;
     _step               = pStep;
     _stepCounter        = 1;
     _sortingAccumulator = new FakeSortingAccumulator();
     _selectionSort      = new SelectionSort <int>();
 }
 //--------------------------------------------------------------------------------------
 public RepeatedEnumerateInsertionSort(
     int pSize,
     int pStep      = 1,
     int bufferSize = 1000)
     : base(pSize, pSize)
 {
     _fSize              = pSize;
     _step               = pStep;
     _stepCounter        = 1;
     _sortingAccumulator = new FakeSortingAccumulator();
     _insertionSort      = new InsertionSort <int>();
 }