public static Map<Integer, Double> getResourcesFromUserWithBLL(List<Bookmark> trainData, List<Bookmark> testData, int userID, List<Map<Integer, Double>> bllValues) {
		Map<Integer, Double> resourceMap = new LinkedHashMap<Integer, Double>();
		Map<Integer, Double> values = null;
		if (bllValues != null && userID < bllValues.size()) {
			values = bllValues.get(userID);
		}
		for (Bookmark data : trainData) {		
			if (data.userID == userID) {
				double val = 1.0;
				if (values != null) {
					val = 0.0;
					for (Integer t : data.getTags()) {
						Double v = values.get(t);
						if (v != null) {
							val += v.doubleValue();
						}
					}
				}
				resourceMap.put(data.resID, val);
			}
		}		
		return resourceMap;
	}