public void availableSlavesPolicy (int availableslaves) {
		System.out.println("availableSlavesPolicy");
		int pending = pendingVMs.size();
		int numberofslaves = resourcePool.size();
		if (availableslaves+pending < 0.3*(numberofslaves) && numberofslaves+pending < maximumslaves) {
			launchVMs(1);
		} else if (availableslaves > 0.5*(numberofslaves) && pending == 0 
									&& numberofslaves > minimumslaves) {
			shutdownVM();
		} else if (availableslaves == numberofslaves && pending == 0 && numberofslaves > minimumslaves) {
			shutdownVM();
		}
	}