protected void onAccepted(final Bindings bind) {
}
@Override
public Message preProcessMessage(final BoundVariablesMessage msg) {
final BoundVariablesMessage result = new BoundVariablesMessage(msg);
this.unionVariables = new HashSet<Variable>(msg.getVariables());
for (final RuleVariable var : this.expression.getVariables()) {
if (!this.unionVariables.contains(var.getVariable())) {
this.unionVariables.add(var.getVariable());
this.assignVariables.add(var.getVariable());
}
}
this.intersectionVariables = new HashSet<Variable>(this.unionVariables);
result.getVariables().addAll(this.intersectionVariables);
return result;
}