Search in sources :

Example 1 with ConditionalBranchMemory

use of org.drools.core.reteoo.ConditionalBranchNode.ConditionalBranchMemory in project drools by kiegroup.

the class SegmentUtilities method processBranchNode.

private static boolean processBranchNode(ConditionalBranchNode tupleSource, ReteEvaluator reteEvaluator, SegmentMemory smem) {
    ConditionalBranchMemory branchMem = smem.createNodeMemory(tupleSource, reteEvaluator);
    branchMem.setSegmentMemory(smem);
    // nodes after a branch CE can notify, but they cannot impact linking
    return false;
}
Also used : ConditionalBranchMemory(org.drools.core.reteoo.ConditionalBranchNode.ConditionalBranchMemory)

Example 2 with ConditionalBranchMemory

use of org.drools.core.reteoo.ConditionalBranchNode.ConditionalBranchMemory in project drools by kiegroup.

the class SegmentUtilities method processBranchNode.

private static boolean processBranchNode(ConditionalBranchNode tupleSource, InternalWorkingMemory wm, SegmentMemory smem) {
    ConditionalBranchMemory branchMem = smem.createNodeMemory(tupleSource, wm);
    branchMem.setSegmentMemory(smem);
    // nodes after a branch CE can notify, but they cannot impact linking
    return false;
}
Also used : ConditionalBranchMemory(org.drools.core.reteoo.ConditionalBranchNode.ConditionalBranchMemory)

Aggregations

ConditionalBranchMemory (org.drools.core.reteoo.ConditionalBranchNode.ConditionalBranchMemory)2