public void calculateLimitSummation(Task tasks[]) {
		limitSummation = 0;
		Arrays.sort(tasks);
		boolean areAllSchedulable = true;

		for(int i=0; i<taskPool.length; i++){
			burstTime[i] = taskPool[i].burstTime;
			arrivalTime[i] = taskPool[i].arrivalTime;
		}

		for(int i = 0; i < tasks.length; i++) {
			if(isSchedulable(tasks[i])) {
				areAllSchedulable &= true;
			}
			else {
				areAllSchedulable &= false;
			}
			maxTime += tasks[i].burstTime;
		}

		if(listener != null) {
			listener.taskLimit(limitSummation);
			listener.taskSchedulability(areAllSchedulable);
		}
	}