this.previousBlocked.remove( dep );
AgendaItem justified = ( AgendaItem ) dep.getJustified();
justified.getBlockers().remove( dep.getJustifierEntry() );
if (justified.getBlockers().isEmpty() ) {
RuleNetworkEvaluatorActivation ruleNetworkEvaluatorActivation = justified.getRuleNetworkEvaluatorActivation();
if ( ruleNetworkEvaluatorActivation == null ) {
// the match is no longer blocked, so stage it
((DefaultAgenda)workingMemory.getAgenda()).getStageActivationsGroup().addActivation( justified );
} else {
if ( !ruleNetworkEvaluatorActivation.isActivated() ) {
// Make sure the rule evaluator is on the agenda, to be evaluated
((InternalAgenda) workingMemory.getAgenda()).addActivation( ruleNetworkEvaluatorActivation );
}
ruleNetworkEvaluatorActivation.getLeftTupleList().add( justified.getTuple() );
}
}
dep = tmp;
}
}