public void rankMMN(){
		Random rand = new Random();
		for(Federation fed : fedList){
			int num_req = (int) (fed.getRate()*frequency);
			for(int i = 0; i < num_req; i++){
				Request req = new Request();
				req.setFederationId(fed.getId());
				req.setLocation(rand.nextInt(fedList.size()));
				int mMNId = getRankTopId(fed,req);
				req.setMMNId(mMNId);
				Node node = nodeMap.get(mMNId);
				if(node == null){
					System.out.println("a");
				}
				node.reqList.add(req);			
				nodeMap.put(mMNId, node);
				if(new MMNWithNodes(fed.getNum_nodes(), node.reqList, node.getLocation()).getTCons() > maxCons){
					incMMN(fed);
				}
			}
		}
	}