LeftTupleSets srcLeftTuples,
LeftTupleSets trgLeftTuples,
LeftTupleSets stagedLeftTuples) {
boolean tupleMemoryEnabled = true;
ConditionalBranchEvaluator branchEvaluator = branchNode.getBranchEvaluator();
for ( LeftTuple leftTuple = srcLeftTuples.getUpdateFirst(); leftTuple != null; ) {
LeftTuple next = leftTuple.getStagedNext();
LeftTuple rtnLeftTuple = ( LeftTuple ) leftTuple.getObject();
LeftTuple mainLeftTuple = leftTuple.getFirstChild();
RuleTerminalNode oldRtn = null;
if ( rtnLeftTuple != null ) {
oldRtn = ( RuleTerminalNode ) rtnLeftTuple.getSink();
}
ConditionalExecution conditionalExecution = branchEvaluator.evaluate( leftTuple, wm, cbm.context );
RuleTerminalNode newRtn = null;
boolean breaking = false;
if ( conditionalExecution != null ) {
newRtn = ( RuleTerminalNode ) conditionalExecution.getSink().getFirstLeftTupleSink();