public int compare(node x, node y)
	{
		double xCost = x.getCosts() + getHeuristicCost(x.getState(), x.getCostsPerKm(), x.getCapacity(), x.getCity());
		double yCost = y.getCosts() + getHeuristicCost(y.getState(), y.getCostsPerKm(), y.getCapacity(), y.getCity());
		if(xCost < yCost) {
			return -1;
		} else if(xCost > yCost) {
			return 1;
		}
		return 0;
	}