public AlphaNode buildAlphaNode( int id, AlphaNodeFieldConstraint constraint, ObjectSource objectSource, BuildContext context ) {
return new ReteAlphaNode( id, constraint, objectSource, context );
}
public TerminalNode buildTerminalNode( int id, LeftTupleSource source, RuleImpl rule, GroupElement subrule, int subruleIndex, BuildContext context ) {
return new ReteRuleTerminalNode( id, source, rule, subrule, subruleIndex, context );
}