17111712171317141715171617171718171917201721
agenda.fireNextItem( null ); assertEquals( 0, ruleFlowGroup0.size() ); assertEquals( 0, agenda.agendaSize() ); workingMemory.executeQueuedActions(); assertFalse( ruleFlowGroup0.isActive() ); // A new activation should now be added to the RuleFlowGroup but not to the agenda final LeftTupleImpl tuple2 = new LeftTupleImpl( new DefaultFactHandle( 1, "cheese" ),
15151516151715181519152015211522152315241525
agenda.fireNextItem( null ); assertEquals( 0, ruleFlowGroup0.size() ); assertEquals( 0, agenda.agendaSize() ); workingMemory.executeQueuedActions(); assertFalse( ruleFlowGroup0.isActive() ); // A new activation should now be added to the RuleFlowGroup but not to the agenda final LeftTuple tuple2 = new LeftTuple( new DefaultFactHandle( 1, "cheese" ),
376377378379380381382383384385386
this.rule ); leftTuple.unlinkFromLeftParent(); leftTuple.unlinkFromRightParent(); } workingMemory.executeQueuedActions(); workingMemory.clearNodeMemory( this ); } if ( !context.alreadyVisited( this.tupleSource ) ) { this.tupleSource.remove( context,
16261627162816291630163116321633163416351636
455456457458459460461462463464465
workingMemory.getTruthMaintenanceSystem().removeLogicalDependencies( activation, propagationContext, this.rule ); } workingMemory.executeQueuedActions(); workingMemory.clearNodeMemory( this ); } removeShare();
15691570157115721573157415751576157715781579
12941295129612971298129913001301130213031304
agenda.fireNextItem( null ); assertEquals( 0, ruleFlowGroup0.size() ); assertEquals( 0, agenda.agendaSize() ); workingMemory.executeQueuedActions(); assertFalse( ruleFlowGroup0.isActive() ); // A new activation should now be added to the RuleFlowGroup but not to the agenda final ReteTuple tuple2 = new ReteTuple( new DefaultFactHandle( 1, "cheese" ) );
workingMemory.getTruthMaintenanceSystem().removeLogicalDependencies( activation, propagationContext, this.rule ); } workingMemory.executeQueuedActions(); workingMemory.clearNodeMemory( this ); } if ( !context.alreadyVisited( this.tupleSource ) ) { this.tupleSource.remove( context,
13181319132013211322132313241325132613271328