Package org.drools.common

Examples of org.drools.common.BetaConstraints.updateFromTuple()


                accumulate.init( am.workingMemoryContext,
                                 accresult.context,
                                 leftTuple,
                                 wm );

                constraints.updateFromTuple( contextEntry,
                                             wm,
                                             leftTuple );

                FastIterator rightIt = accNode.getRightIterator( rtm );
View Full Code Here


            for ( LeftTuple leftTuple = srcLeftTuples.getUpdateFirst(); leftTuple != null; ) {
                LeftTuple next = leftTuple.getStagedNext();
                final AccumulateContext accctx = (AccumulateContext) leftTuple.getObject();
                PropagationContext context = leftTuple.getPropagationContext();

                constraints.updateFromTuple( contextEntry,
                                             wm,
                                             leftTuple );

                RightTuple rightTuple = accNode.getFirstRightTuple( leftTuple,
                                                                    rtm,
View Full Code Here

                                                      memory.alphaContexts[i] ) ) {
                    isAllowed = false;
                }
            }
            if ( isAllowed ) {
                resultBinder.updateFromTuple( memory.resultsContext,
                                              workingMemory,
                                              leftTuple );
                if ( !resultBinder.isAllowedCachedLeft( memory.resultsContext,
                                                        accctx.getResultFactHandle() ) ) {
                    isAllowed = false;
View Full Code Here

                if ( useLeftMemory ) {
                    ltm.add( leftTuple );
                }

                constraints.updateFromTuple( contextEntry,
                                             wm,
                                             leftTuple );

                for ( RightTuple rightTuple = joinNode.getFirstRightTuple( leftTuple,
                                                                           rtm,
View Full Code Here

            for ( LeftTuple leftTuple = srcLeftTuples.getUpdateFirst(); leftTuple != null; ) {
                LeftTuple next = leftTuple.getStagedNext();
                PropagationContext context = leftTuple.getPropagationContext();

                constraints.updateFromTuple( contextEntry,
                                             wm,
                                             leftTuple );

                RightTuple rightTuple = joinNode.getFirstRightTuple( leftTuple,
                                                                     rtm,
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.