private void clearState(){
  allocatedResources.clear();
  requestsToCountMap.clear();
  requestsQueue.clear();
}

private void clearState ( ) { allocatedResources . clear ( ) ; requestsToCountMap . clear ( ) ; requestsQueue . clear ( ) ; }
clears all the state variables performed when there are no more unfulfilled requests
