public static int[][] findRequestPattern(Configuration _config) {

    // Moving Average
    int[][] r =
        new int[_config.getProvidersNumber()]
            [_config.getServicesNumber()]; // requests per service provider

    for (int j = 0; j < _config.getProvidersNumber(); j++)
      for (int s = 0; s < _config.getServicesNumber(); s++) {
        r[j][s] = 100 * (j + 1) / (s + 1);
      }

    System.out.println("Method Call: Find Request Pattern Called");
    return r;
  }
  public static List<VMRequest> vmRequests2ActivateThisSlot(
      int slot, Slot[] _slots, Configuration _config) {

    List<VMRequest> vmRequests2ActivateThisSlot = new ArrayList<>();

    // Step 1: Find RequestIDs to remove
    for (int i = 0; i < _config.getProvidersNumber(); i++) {
      for (int j = 0; j < _slots[slot].getVmRequests2Remove()[i].size(); j++) {
        vmRequests2ActivateThisSlot.add(_slots[slot].getVmRequests2Activate()[i].get(j));
      }
    }

    return vmRequests2ActivateThisSlot;
  }