while ( !eager.isEmpty() ) {
RuleAgendaItem item = eager.removeFirst();
evaluateQueriesForRule(item);
RuleExecutor ruleExecutor = item.getRuleExecutor();
ruleExecutor.flushTupleQueue(ruleExecutor.getPathMemory().getStreamQueue());
ruleExecutor.evaluateNetwork(this.workingMemory);
}
}
}
private void evaluateQueriesForRule(RuleAgendaItem item) {