-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathQuickSort.h
34 lines (27 loc) · 929 Bytes
/
QuickSort.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef SMOOTHSKIES_QUICKSORT_H
#define SMOOTHSKIES_QUICKSORT_H
#include "Airport.h"
class QuickSort {
Airport airports[4408];
void quickSort(int low, int high, string& dataType);
int partitionLateFlights(int low, int high);
int partitionSecurityDelays(int low, int high);
int partitionWeatherDelays(int low, int high);
int partitionFlightsCancelled(int low, int high);
int partitionDelayedFlights(int low, int high);
int partitionFlightsTotal(int low, int high);
int partitionMinutesDelayed(int low, int high);
void printLate();
void printSecurity();
void printWeatherDelay();
void printFlightsCancelled();
void printDelayedFlights();
void printFlightsTotal();
void printMinutesDelayed();
public:
QuickSort();
void readInData();
void callPrint(string& dataType);
void callQuickSort(string& desiredValue);
};
#endif //SMOOTHSKIES_QUICKSORT_H