org.drools.core.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>>
getBeliefSystem
BeliefSystem getBeliefSystem()
getFactHandle
InternalFactHandle getFactHandle()
getFirst
M getFirst()
iterator
FastIterator iterator()
add
void add(M node)
remove
void remove(M node)
isEmpty
boolean isEmpty()
size
int size()
cancel
void cancel(PropagationContext propagationContext)
- This will remove all entries and do clean up, like retract FHs.
- Parameters:
propagationContext -
clear
void clear(PropagationContext propagationContext)
- This will remove all entries, but not do cleanup, the FH is most likely needed else where
- Parameters:
propagationContext -
setWorkingMemoryAction
void setWorkingMemoryAction(WorkingMemoryAction wmAction)
isNegated
boolean isNegated()
isUndecided
boolean isUndecided()
isConflicting
boolean isConflicting()
isPositive
boolean isPositive()
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.