public void miningByBatch(){
		
		// 检查输入日志序列
		if(accessLogs == null || accessLogs.size() == 0){
			System.err.println("Access Logs is null! Exit...");
			return;
		}
		
		// 根据规则 Ai & Aj -> Ak, i < j < k, j - i <= maxGap, k - j <= maxGap 生成规则
		for(int i = 0; i < accessLogs.size() - 2; i++){
			
			for(int j = i + 1; j <= maxGap + i && j < accessLogs.size() - 1; j++){
				
				String prefix = accessLogs.get(i) + "|" + accessLogs.get(j);
				
				for(int k = j + 1; k <= maxGap + j && k < accessLogs.size(); k++){
					
					String suffix = accessLogs.get(k);
					ruleCache.addRule(prefix, suffix);
				}
			}
		}
	}