public static void unlinkNotNodeOnRightInsert( NotNode notNode, BetaMemory bm, InternalWorkingMemory wm) { if (bm.getSegmentMemory().isSegmentLinked() && !notNode.isRightInputIsRiaNode() && notNode.isEmptyBetaConstraints()) { // this must be processed here, rather than initial insert, as we need to link the blocker // @TODO this could be more efficient, as it means the entire StagedLeftTuples for all // previous nodes where evaluated, needlessly. bm.unlinkNode(wm); } }