public double strategyDistance(double time){
		double distance = 0.0;
		switch(carStatus){
		case ACCELERATE:
			distance = 0.5*(acceleration)*(time*time) + tempSpeed*time;
			break;
		case DECELERATE:
			distance = 0.5*(-acceleration)*(time*time) + tempSpeed*time;
			break;
		case STOP:
			distance = 0.0;
			break;
		case CONSTANT:
			distance = tempSpeed*time;
			break;
		}
		P.p("Strategy distance being calculated: " + distance);
		return distance;
	}