public Scenario run() {
previousResultTuples = ( LeftTupleSets ) ((SegmentMemory) bm.getSegmentMemory().getFirst()).getStagedLeftTuples();
actualResultLeftTuples = new LeftTupleSets();
if ( phreakNode == PhreakJoinNode.class ) {
new PhreakJoinNode().doNode( (JoinNode) betaNode, sinkNode,
bm, wm, leftTuples, actualResultLeftTuples, previousResultTuples );
} else if ( phreakNode == PhreakNotNode.class ) {
new PhreakNotNode().doNode( (NotNode) betaNode, sinkNode,
bm, wm, leftTuples, actualResultLeftTuples, previousResultTuples );