#ifndef COLLECTIVESCHEDULER_HPP
#define COLLECTIVESCHEDULER_HPP

#include <iostream>
#include <unistd.h>

using namespace std;

class CollectiveScheduler {
	private:
		int partition(double* s, int low, int high);
		void quick_sort(double* s, int low, int high);
	public:
		CollectiveScheduler();
		~CollectiveScheduler();

		void execute(int levels, int rows, int n, double* data);
};

#endif
