public void fireRNEAs(final InternalWorkingMemory wm) {
   RuleAgendaItem rnea = null;
   while ((rnea = rneaToFire.poll()) != null) {
     rnea.remove();
     rnea.setQueued(false);
     rnea.getRuleExecutor().evaluateNetworkAndFire(wm, null, 0, -1);
   }
 }
示例#2
0
 public void evaluateEagerList() {
   while (!eager.isEmpty()) {
     RuleAgendaItem item = eager.removeFirst();
     item.getRuleExecutor().evaluateNetwork(this.workingMemory);
   }
 }