Package org.drools.tms.beliefsystem
Interface BeliefSet<M extends ModedAssertion<M>>
- All Known Subinterfaces:
JTMSBeliefSet<M>
- All Known Implementing Classes:
DefeasibleBeliefSet,JTMSBeliefSetImpl,SimpleBeliefSet
public interface BeliefSet<M extends ModedAssertion<M>>
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcancel(PropagationContext propagationContext) This will remove all entries and do clean up, like retract FHs.voidclear(PropagationContext propagationContext) This will remove all entries, but not do cleanup, the FH is most likely needed else wheregetFirst()booleanbooleanbooleanisEmpty()booleanbooleanvoidvoidsetWorkingMemoryAction(WorkingMemoryAction wmAction) intsize()
-
Method Details
-
getBeliefSystem
BeliefSystem getBeliefSystem() -
getFactHandle
InternalFactHandle getFactHandle() -
getFirst
M getFirst() -
fastIterator
FastIterator fastIterator() -
add
-
remove
-
isEmpty
boolean isEmpty() -
size
int size() -
cancel
This will remove all entries and do clean up, like retract FHs.- Parameters:
propagationContext-
-
clear
This will remove all entries, but not do cleanup, the FH is most likely needed else where- Parameters:
propagationContext-
-
setWorkingMemoryAction
-
isNegated
boolean isNegated() -
isDecided
boolean isDecided() -
isConflicting
boolean isConflicting() -
isPositive
boolean isPositive()
-