public RateMonotonicScheduling(Task... taskPool) {
		this.taskPool = taskPool;
		finished = new boolean[taskPool.length];

		burstTime = new int[taskPool.length];
		arrivalTime = new int[taskPool.length];

		this.ganttChart = new ArrayList<GanttChartHolder>();

		boolean startZeroTest = false;
		for(int i=0; i<taskPool.length; i++){
			arrivalTime[i] = taskPool[i].arrivalTime;

			if(arrivalTime[i] == 0)
				startZeroTest = true;
		}

		if(!startZeroTest)
			compensateForZero();

		//calculateBoundary(taskPool.length);
		//calculateLimitSummation(taskPool);
	}